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

Reply via email to