From:             [EMAIL PROTECTED]
Operating system: Linux 2.4.3
PHP version:      4.0.4pl1
PHP Bug Type:     MySQL related
Bug description:  Possible problem with query

     Okay, I think I found a bug so please don't chew my 
head off if I'm wrong.
     I have written a short script to convert an excel 
spreadsheet into MySQL.  Text format of course.
     I try to create a table using these lines:

$query = "CREATE TABLE test3 (Sales_Number varchar(255), 
Sales_Name varchar(255), Location varchar(255), Amount 
$result = mysql_query ($query);

     It creates the table, but it stops the script with 
this error message:

Query was empty

     I have never seen this error message before, and I 
don't think the query is empty because it does create the 

     If you want me to email you the script for further 
analysis, please let me know.

Matthew Grigajtis

Edit Bug report at:

PHP Development Mailing List <>
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