Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa PHP How to update record to database? I have trouble with the following code

Have Programming Question? Ask it here!
 
 
 


Akio tao
How to update record to database? I have trouble with the following code
1 Answer(s)      2 years and 9 months ago
Posted in : PHP


I have written the update statement but it still not work to update the record,what is the missing of the following code ?I need help,thankyou

selectdb($database_con, $connection); $emailAddress=$_POST['emailAddress']; $deliveryAdd=$_POST['deliveryAddress']; $custel=$_POST['phoneNo']; $sql="UPDATE customer SET deliveryAdd= $deliveryAdd WHERE custEmail=$emailAddress"; mysql_query($sql);

echo "your Personal information has been changed"; ?>


Advertisement
View Answers

November 1, 2011 at 11:22 AM




Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com