[PHP-DB] problems 'adding' to MySQL DBs

2002-05-20 Thread cin
using Apache 1.3.20 and MySQL 3.23-49a, i can connect to the database using mysql_connect no problem, but for some reason, when i try to add to the database, there is blank output. when i check the database, it only registers blanks ... relevant code as follows: submitform.php: html body ?

Re: [PHP-DB] problems 'adding' to MySQL DBs

2002-05-20 Thread Jason Wong
On Monday 20 May 2002 23:31, cin wrote: using Apache 1.3.20 and MySQL 3.23-49a, i can connect to the database using mysql_connect no problem, but for some reason, when i try to add to the database, there is blank output. when i check the database, it only registers blanks ... relevant

Re: [PHP-DB] problems 'adding' to MySQL DBs

2002-05-20 Thread szii
Here's a hint...ALWAYS use proxies for your query strings. $query = insert into firsttab (first_name, last_name) values ('$first_name', '$last_name'); mysql_query($query); var_dump($query); // copy output and paste into the mysql // command line