RE: [PHP-DB] whats wrong with my sql insert statement?

2002-09-09 Thread Michael Hazelden
Hi there, Two things: (a) in my experience - you should use single quotes in your query to surround the values and so you don't need to escape them either (e.g. '$first_name') and (b) Make sure register_globals is on - otherwise you need to use $_POST[first_name] Cheers, Michael.

Re: [PHP-DB] whats wrong with my sql insert statement?

2002-09-09 Thread user
Thanks for your suggestions. first my /etc/php.ini register_globals = on second i made the change as you suggested and i added a [$blabla = truly random;] when the input.php is excuated, 'blabla' value is inserted into the table. '$first_name' is still left blank. this leads me to believe that