Re: MySQL

From: Date: Fri, 01 Aug 2003 16:16:17 +0000
Subject: Re: MySQL
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-29608@lists.php.net to get a copy of this message
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

« previous php.db (#29608) next »