Forum Moderators: coopster

Message Too Old, No Replies

PHP submit form to mysql table

enter data from textbox to sql taable

         

vic_msn

5:27 am on Nov 7, 2006 (gmt 0)

10+ Year Member



I am learning PHP and MySQL so i want to create a simple submit form.
Suppose there are 3 test boxes how do i insert the data entered in the text boxes in to the mysql table when the user hits the submit button.
Also in PHP how can i "move" data from one table to another table. with the click of a link.

barns101

11:37 am on Nov 7, 2006 (gmt 0)

10+ Year Member



I would recommend searching for a tutorial on PHP/MySQL database usage, because we're not supposed to just write people's code for them (because they learn nothing that way) :)

eelixduppy

11:55 am on Nov 7, 2006 (gmt 0)



We have a nice thread on Basics of extracting data from MySQL using PHP [webmasterworld.com] taken from our Library [webmasterworld.com].

Make sure, though, that if you are going to use variables in your query, that you escape them [us3.php.net]!

Good luck!