Akio tao
How to update record to database? I have trouble with the following code
1 Answer(s)      3 years and 6 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