841 Posted Topics

Member Avatar for ishlux

change your query to: [code] $query1="SELECT * FROM autoalto_mail where mail_id='".$mailid1."' AND flag='1'"; [/code]

Member Avatar for Shanti C
0
74
Member Avatar for punithapary

try this .......it may help write this in the head part........ [code=javascript] <script language="javascript"> function changeIt() { var i = 1; my_div.innerHTML = my_div.innerHTML +"<br><input type='text' name='mytext'+ i>" } </script> [/code] and write this in the body......... [code=javascript] <form name="form" action="post" method=""> <input type="text" name=t1> <input type="button" value="test" onClick="changeIt()"> <div …

Member Avatar for us12
0
82
Member Avatar for veledrom

You can do it with DATEADD, directly in MySql SELECT DATEADD(...) AS IncrementedDate from ... DATEADD("2000-12-01",INTERVAL 1 DAY)

Member Avatar for veledrom
0
115
Member Avatar for justinmyoung

change this : [code=php] $query = "SELECT * FROM runners WHERE id = '$name'"; [/code] To: [code=php] $query = "SELECT * FROM runners WHERE id =".$name; [/code]

Member Avatar for mustafaneguib
0
231
Member Avatar for praveen_dusari

Praveen.... Hope you will achieve more in your life.... All The Best... ShantI

Member Avatar for MakeMoneyOnline
0
50
Member Avatar for german21
Member Avatar for sTyleSHA

your thinking is right... i think its all because of one virus called JavaScript malware..... scan your all web pages with anti virus scanner and find what is the exact virus..... find the source of it...

Member Avatar for Shanti C
0
129
Member Avatar for tactfulsaint

you just copy and paste the examples from w3schools and any other and then run then in IE or firefox,then you will get the output... and try to edit the code in which way you want... read the materials about html and css... [url]www.w3schools.com[/url] is best for begginners...

Member Avatar for rexibit
0
94
Member Avatar for 3DProf4online

[url]http://www.freewebsitetemplates.com/[/url] [url]http://freesitetemplates.com/[/url]

Member Avatar for rexibit
0
120
Member Avatar for psathish2
Member Avatar for gargg321

this is also done by using simple php and database queries... why are you try to do this by java script????

Member Avatar for Shanti C
0
131
Member Avatar for Ems

restrict your user to download only after providing his/her information... this is done by sessions concept in php or provide login form....

Member Avatar for Ems
0
104
Member Avatar for lydia21

you can use joins for this: [code=my sql] "select * from table1 as t1,table2 as t2 where ti.id=t2.id"; [/code] this is simple.... Have look on this url follows: [url]http://www.tizag.com/mysqlTutorial/mysqljoins.php[/url]

Member Avatar for lydia21
0
114
Member Avatar for Lavendor

First you should have to know about basic my sql commands like select,update,delete... and you have to create a table in your database according to your requirements... and know how to connect to a data base by using php...and then write your sql queries in your php page... these two …

Member Avatar for Shanti C
0
90
Member Avatar for ishlux

[code=php] <?php $array = array('lastname', 'email', 'phone'); $comma_separated = implode(",", $array); echo $comma_separated; // lastname,email,phone ?> [/code]

Member Avatar for nav33n
0
79
Member Avatar for osman85

Place this line after your mail function [code=php] echo '<script language="javascript">window.location.href="thanku.htm";</script>'; [/code]

Member Avatar for nav33n
0
101
Member Avatar for saikishore

CPanel is the most popular control panel solution on the market. Nearly all web hosts are currently using this control panel, except for those hosts that do not want to pay the expensive price tag. CPanel allows the web host to easily customize the features/programs that appear. Additionaly, CPanel has …

Member Avatar for Shanti C
0
86
Member Avatar for Suneetha Reddy
Member Avatar for greeny_1984

try this: [code=javascript] <body onKeyDown="setCmdKeyIE(event);" > JAVASCRIPT: function setCmdKeyIE(event) { if(event==null) event = window.event; var cmdkeycode = ""; if (event.keyCode != 13 & event.keyCode != 33 & event.keyCode != 34 & event.keyCode < 112 ) return; ... } [/code]

Member Avatar for Troy III
0
139
Member Avatar for e_velkova
Member Avatar for nil_gh_80

this is the code: [code=javascript] var m = document.form1.emailid.value var cnt=0,spc=0,dot=0; for(var i=1;i<=m.length;i++) { if(m.charAt(i)=="@") cnt++; if(m.charAt(i)==" ") spc++; if(m.charAt(i)==".") dot++; } lnm=m.length if(cnt==0||cnt>1||spc!=0||dot==0 ||lnm<=2 ) {alert("Please Enter Valid E-mail Id ");document.form1.emailid.focus();return false; } [/code]

Member Avatar for nil_gh_80
0
289
Member Avatar for ishlux

you didn't mention any id to delete : [code] <a href="contractor_mail_delete_action.php"><b>Delete</b></a> [/code] and print this: echo $_GET['mail_id']; in your contractor_mail_delete_action.php page .

Member Avatar for Shanti C
0
105
Member Avatar for ChintuChowdary
Member Avatar for Shanti C
0
37
Member Avatar for abuamr

You first retrieve the data from database... and show it in your text boxes like value="<? $row['fielsname']?>" if user change the data and when clicks on submit button, then write a update query in this if condition: if($_SERVER['REQUEST_METHOD']=='POST'){ }

Member Avatar for Shanti C
0
64
Member Avatar for e_velkova

Use this code: this code will execute after user clicks on the submit button. [code=php] if($_SERVER['REQUEST_METHOD']=='POST') { mysql_query("insert query"); } [/code]

Member Avatar for jsrpatna
0
101
Member Avatar for lifeworks

hello.. you just add 7 days to your user booked date by using DATEADD function in mysql... and compare that date with CURDATE ,then if condition is ok,write mail function to remind them ...

Member Avatar for Shanti C
0
101
Member Avatar for ishlux

this is the code for paging: [code=php] <?php mysql_connect("localhost", "root", "1234"); mysql_select_db("image"); // how many rows to show per page $rowsPerPage = 20; // by default we show first page $pageNum = 1; // if $_GET['page'] defined, use it as page number if(isset($_GET['page'])) { $pageNum = $_GET['page']; } // counting …

Member Avatar for Shanti C
0
102
Member Avatar for ishlux

use one state column in your messages table.. and whenever user click on the delete button ,update the state field to 2 by using the id of deleted message.and first set your state as1. if the state is 1,that is inbox message, if the state is 2,that is trash message... …

Member Avatar for Shanti C
0
57
Member Avatar for forzadraco

[code=mysql]SELECT * FROM table WHERE date_col<curdate() and date>DATE_ADD(CURDATE(), INTERVAL -1 DAY)[/code]

Member Avatar for Shanti C
0
137
Member Avatar for Temax

by this line: <select name="fields"> </select> you can retrieve the option value by $_POST['fields'] .. In form tag you should use action as action="search.php".

Member Avatar for buddylee17
0
145
Member Avatar for jay29982
Member Avatar for jay29982
0
76
Member Avatar for psathish2

For the last date use: [code=mysql]order by datefield desc[/code] For 7 day and more days: [code=mysql]Between Date() And DateAdd("d",-7,Date())[/code] DATE_ADD() ,Add two dates DATE_SUB() ,Subtract two dates use the above both functions....

Member Avatar for Shanti C
0
272
Member Avatar for cogzkev
Member Avatar for Shanti C
0
60
Member Avatar for aas1212

search engine is the best.... go through it...and add more features like user login,posting blogs,forums like that....

Member Avatar for peter_budo
0
80
Member Avatar for Suneetha Reddy

hey suneee.... Can you clearly explain your thread?its better... other wise nobody will reply you...

Member Avatar for Shanti C
0
143
Member Avatar for Shanti C

Hello all... please help me to solve this thread very urgently??? How to rotate an image by 360 degrees in javascript or any other technology??? What requirements need to complete this task??? see this link for refernce: [url]http://www.i-spy360.com/en/ispyspin/[/url] Thanks...

Member Avatar for Shanti C
0
109
Member Avatar for Shanti C

Hello all... please help me to solve this thread very urgently??? How to rotate an image by 360 degrees in javascript or any other technology??? What requirements need to complete this task??? see this link for reference: [url]http://www.i-spy360.com/en/ispyspin/[/url] Thanks...

Member Avatar for Shanti C
0
105
Member Avatar for gargg321

By adding this: [code=html] <input type="hidden" name="hiddenname"> [/code] use this where ever you want to send by hidden....

Member Avatar for Shanti C
0
110
Member Avatar for ditty

hope this may help you: [url]http://abledesign.com/programs/holiday_code.php[/url]

Member Avatar for Shanti C
0
63
Member Avatar for ishlux

try in this way: [code=php] $result = mysql_query("SELECT * FROM autoalto_mail where mail_id='".$_request[$a]."'" ); [/code]

Member Avatar for vicky_rawat
0
148
Member Avatar for hepatit_h
Member Avatar for MakeMoneyOnline
0
23
Member Avatar for justinmyoung

yes... jQuery is a JavaScript library that takes this motto to heart: Writing JavaScript code should be fun. jQuery achieves this goal by taking common, repetitive, tasks, stripping out all the unnecessary markup, and leaving them short, smart and understandable you can get them here: [url]http://jquery.com/[/url]

Member Avatar for Shanti C
0
91
Member Avatar for phouse512

$handle = fopen("http://www.example.com/", "r+"); 'r+' : Open for reading and writing; place the file pointer at the beginning of the file.

Member Avatar for phouse512
0
100
Member Avatar for tambia

if you wrote two seperate update queries.. obviously, if the first one fails,the second one will execute..

Member Avatar for Shanti C
0
103
Member Avatar for ishlux

its because of unclosed brace or unclosed tags... check all your braces of loops .....

Member Avatar for Shanti C
0
31
Member Avatar for mike_22cool
Member Avatar for veledrom

just put echo before$v and execute that query in your database sql query.. it tells you where will be the error... [code=php] $v ="select * from kullanicilar order by id limit $son, $limit"; $veri= mysql_query($v); [/code]

Member Avatar for Shanti C
0
84
Member Avatar for ishlux

check this url: [url]http://www.daniweb.com/forums/thread134714.html[/url]

Member Avatar for Shanti C
0
34
Member Avatar for praveen_dusari

Try this.. it works fine: [code=php] <? mysql_connect('localhost','root','1234'); mysql_select_db('banjarahills'); if($_SERVER['REQUEST_METHOD']=='POST'){ print_r($_POST); $n=$_POST['name']; $m=$_POST['message']; } if(isset($_POST['submit'])) { $message=$_POST['message']; $name=$_POST['name']; if(strlen($message)<1) { print "You did not type amessage."; //no name entered } else if(strlen($name)<1) { print "You did not type name."; //no post entered } else { $thedate=date("U"); //get unix timestamp $displaytime=date("F …

Member Avatar for us12
0
196
Member Avatar for ishlux

The End.