|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-04-29 22:23 UTC] cardinal@php.net
[2001-04-30 13:26 UTC] cardinal@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 23:00:01 2025 UTC |
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 varchar(255))"; $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 table... If you want me to email you the script for further analysis, please let me know. Matthew Grigajtis