New to this, trying to insert record into DB

$Query = "INSERT INTO table_name (Obj,Descrip) VALUES (keyboard,Device
to pound on when frustrated.)";
$Results = mysql_query($Query)
    or die ("Query FAILED");

I keep getting Failed Query messages here, any idea why?  PHP/MySQL
manuals do not have examples of how to do this.  Thanks.




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to