On Mon, 18 Jun 2001, Todd A. Jacobs wrote:
> $sql = "INSERT INTO question VALUES (NULL, $user_idx, $objective,
> '$question', '$question_type', NULL, NULL)";
>
> $result = mysql_db_query('item_db', $sql_query, $connection_id);
Thanks to all who answered. It was a simple mistake, but hard for the eye
to catch: I needed the query to use $sql, not $sql_query.
The program now works properly. Thank you.
--
Todd A. Jacobs
CodeGnome Consulting, LTD
- [PHP] INSERT problem with MySQL/PHP Todd A. Jacobs
- Re: [PHP] INSERT problem with MySQL/PHP Tom Carter
- Re: [PHP] INSERT problem with MySQL/PHP David Robley
- Re: [PHP] INSERT problem with MySQL/PHP Developer
- Re: [PHP] INSERT problem with MySQL/PHP Miles Thompson
- Re: [PHP] INSERT problem with MySQL/PHP Ethan Schroeder
- [PHP] test Todd A. Jacobs
- [PHP] test [EMAIL PROTECTED]
- RE: [PHP] INSERT problem with MySQL/PHP Jason Murray

