Re: [PHP] insert & select image in mySQL

2002-01-24 Thread Stephane Pinel
> 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

[PHP] Update form objects before submit

2001-08-29 Thread Stephane Pinel
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