MySQL Forums
Forum List  »  Newbie

What are the possible ways to insert data into a MySql database from a webpage?
Posted by: avi converter
Date: April 05, 2011 02:29AM

I need to insert a data into mysql database when submit button is pressed and I must return the status in a message box. I use php. The sad thing is on page load the code to insert data executes, which must not happen. I have written the php code on the head section I need to insert data only on submit. While I was exploring how to do that I am interested in knowing the possible ways to insert data into MySql database from a web page.

Kindly help me with two things
1. What are the possible ways to insert data into a MySql database from a web page
2. Suggest a solution for the problem stated above( unexpected execution of code on page load )
http://www.bestaviconverter.net/

Options: ReplyQuote


Subject
Written By
Posted
What are the possible ways to insert data into a MySql database from a webpage?
April 05, 2011 02:29AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.