Re: MySQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I just need to know how to enter the data submitted by an html form into a
MySQL DB.


I have already created the form, and the variables in that form - just need
to know the query use to insert that data.

The query will be something like
INSERT INTO tablename (column1, column2, column3, ...) VALUES ('$var1', '$var2', '$var3', ...)


But you'll need to connect to MySQL first, then select the database. Check out the PHP and MySQL manuals for more information.

Larry


-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux