Re: Query was empty -- any ideas

2004-01-25 Thread Sam Folk-Williams
Okay, I feel dumb. After seeing my message appear on the list, in a different font, I can see that here: $result = mysql_query($sq12,$connection) or die (mysql_error()); I typed "$sq12" instead of "$sql2" -- sorry! Works now. Sam Sam Folk-Williams wrote: Hi, This script keeps returning the

Query was empty -- any ideas

2004-01-25 Thread Sam Folk-Williams
Hi, This script keeps returning the error "Query was empty" via php's mysql_error() function. I think this is just a run-of-the-mill query, of which I have hundreds on this site. I just can't figure this out... any ideas? I'm probably missing something small. I have tested the variables and th