> Try this code. It assumes you are already connected to the database.
> Usually, I put that script in something like database.inc and just do an
> include.
>
> mysql_connect ("mysql_server", "username", "password");
> mysql_select_db("database_name");
> $sql = mysql_query("SELECT image, type FR
I have a html page including php scripts that perform different stuff.
The page contains a form (a Select 'products-price' and a field 'qty').
Depending the choice made by the user, I need to know what item in the
SELECT object was choose and the number entered in the 'Qty' field to
initialized a
2 matches
Mail list logo