List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:April 14 2000 12:44am
Subject:Re: INSERT syntax
View as plain text  
At 8:40 PM -0400 2000-04-13, Margie Wiers wrote:
>Okay, I see error1065  Query was empty.  Good.  An error message.  But, why
>was the query empty when I entered something?.


Can't tell without seeing your code where you assign $query_string
a value

>
>Margie
>>
>>
>>  If you put in *exactly* what I wrote, that makes sense, unless you
>>  assigned $query_string to be the query you had literally in your
>>  previous message to the list.  Assign $query_string to be that
>>  query, and try it again.  You'll probably get a different result.
>>
>>  Another value of printing the query (once you've gotten it not to
>>  be empty) is that you'll often see just where the problem is.
>>  Constructing queries in PHP (or Perl) sometimes results in
>>  a query that's just slightly different than what you intend,
>>  and it's often easier to see just what went wrong if you show
>>  the query itself.
>>
>>


-- 
Paul DuBois, paul@stripped
Thread
INSERT syntaxMargie Wiers13 Apr
  • Re: INSERT syntaxThimble Smith13 Apr
  • Re: INSERT syntaxMargie Wiers14 Apr
  • Re: INSERT syntaxMargie Wiers14 Apr
  • Re: INSERT syntaxNiall Kavanagh14 Apr
  • Re: INSERT syntaxMargie Wiers14 Apr
  • Re: INSERT syntaxNiall Kavanagh14 Apr
  • Re: INSERT syntaxsasha14 Apr
  • Re: INSERT syntaxMargie Wiers14 Apr
  • Re: INSERT syntaxMargie Wiers14 Apr
    • Re: INSERT syntaxPaul DuBois14 Apr
  • Re: INSERT syntaxMargie Wiers14 Apr
  • Re: INSERT syntaxMargie Wiers14 Apr
    • Re: INSERT syntaxPaul DuBois14 Apr
  • Re: INSERT syntaxsasha14 Apr
  • Re: INSERT syntaxMargie Wiers14 Apr
  • Re: INSERT syntaxMargie Wiers14 Apr
RE: INSERT syntaxQuentin Bennett14 Apr
Re: INSERT syntaxMargie Wiers14 Apr
  • Re: INSERT syntaxPaul DuBois14 Apr