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









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
software or i have to write a code for this suff
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.
How i upload file and save that record in database using JSP?
Jsp code for disabling record.
ModuleNotFoundError: No module named 'code-record'
ModuleNotFoundError: No module named 'code-record'
i want to update values
How to write the junit test code for the following controller code
my hibernate showing the following exception so how i can resolve it
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
I have crude application
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...
Need the Following MobileApplication Related Code
in my project, i have to add scrollbars to a panel,. i need some example on it,how to doit.
source code for the following question
How do I get a job as a data scientist if I have no prior experience?
Expain the following code ?
How should I start to learn code with Java?
Java code for following
I have need to help
how can i simplify my java code
i have problem with classnofounderror
i have problem with classnofounderror
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
how to update
ModuleNotFoundError: No module named 'trouble'
servlet code to update password?
I have problem in my Project
How can i add a new count to this source code ? - Java Beginners
How can i add a new count to this source code ? - Java Beginners
update the java code in Tortaise SVN
how to edit a record in hibernate?
I have to retrieve these data from the field table
How to retrieve record from table
i have a problem in spring - Spring
Update Record using Prepared Statement
i have problem in that program - JavaMail
I have doubt in jsp file.
in my project, i have to add only vertical scrollbar to a panel,but not horizontal scrollbar. i need some example on it,how to doit.
I have one small doubt , does this code read Microsoft Office suit file format data such as .doc , .docx etc ?
i have an ques. of advanced java
how can i create a mysql database to connect to this code - JDBC

Ads