How to update record to database? I have trouble with the following code

How to update record to database? I have trouble with the following code

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"; ?>

View Answers

November 1, 2011 at 11:22 AM

Ads









Related Tutorials/Questions & Answers:
How to update record to database? I have trouble with the following code
Am using windows xp os..how to install wamp server for this os ?i have a trouble in this..
Advertisements
how to add a update button in the following jsp
I have a tex box. in that i want user should enter data in the format specified(for eg--a_b_c_d_e_)how to write code for it.
software or i have to write a code for this suff
How i upload file and save that record in database using JSP?
How to write the junit test code for the following controller code
Jsp code for disabling record.
ModuleNotFoundError: No module named 'code-record'
ModuleNotFoundError: No module named 'code-record'
my hibernate showing the following exception so how i can resolve it
i want to update values
Will i be able to get the content of a webpage in a word document (Note:i don t have access to the source code)through java code?
how do i update my database with the help of update syntax in html <text/javascript>? How to write 'where' statement in this?
How to list databases in PostgreSQL
How to run ActionListenters in two different thread for the following code...
How to run ActionListenters in two different thread for the following code...
How to run ActionListenters in two different thread for the following code...
How to run ActionListenters in two different thread for the following code...
How should I start to learn code with Java?
I have crude application
in my project, i have to add scrollbars to a panel,. i need some example on it,how to doit.
How do I get a job as a data scientist if I have no prior experience?
source code for the following question
Expain the following code ?
I developed a simple java web project in Struts now If I have to import the project in Eclipse Indigo how can I do it
Java code for following
how to update
I have need to help
i have problem with classnofounderror
i have problem with classnofounderror

Ads