RE: [PHP-DB] Dynamic SQL + result resource error

2001-07-09 Thread Michael Rudel
straße 20 D-78467 Konstanz Germany fon: +49-(0)7531-89207-17 fax: +49-(0)7531-89207-13 e-mail: mailto:[EMAIL PROTECTED] internet: http://www.suchtreffer.de _______ > -----Original Message- > From: Mark Gordon [mailto:[EMAIL PROTECT

RE: [PHP-DB] Dynamic SQL + result resource error

2001-07-08 Thread Mats Remman
s code, but perhaps there's > something else there. > > > -Original Message- > From: Ben Bleything [mailto:[EMAIL PROTECTED]] > Sent: Sunday, July 08, 2001 8:13 PM > To: 'Matthew Loff'; 'Mark Gordon'; [EMAIL PROTECTED] > Subjec

RE: [PHP-DB] Dynamic SQL + result resource error

2001-07-08 Thread Matthew Loff
, July 08, 2001 8:13 PM To: 'Matthew Loff'; 'Mark Gordon'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] Dynamic SQL + result resource error Guess I'm just a big dumbass then, aren't I =P Oops. I suppose that would cause it to fail then, wouldn't it? => Ben --

RE: [PHP-DB] Dynamic SQL + result resource error

2001-07-08 Thread Ben Bleything
n'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] Dynamic SQL + result resource error The code you're referencing is my modification of his original post. :) -Original Message- From: Ben Bleything [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 8:04 PM To: 'Matthew Lof

RE: [PHP-DB] Dynamic SQL + result resource error

2001-07-08 Thread Matthew Loff
The code you're referencing is my modification of his original post. :) -Original Message- From: Ben Bleything [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 8:04 PM To: 'Matthew Loff'; 'Mark Gordon'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] Dynamic SQ

RE: [PHP-DB] Dynamic SQL + result resource error

2001-07-08 Thread Ben Bleything
Sure he is. Right here: $queryResult = mysql_query($sql); what exact error is occurring? -Original Message- From: Matthew Loff [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 5:00 PM To: 'Mark Gordon'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] Dynamic SQL + result reso

RE: [PHP-DB] Dynamic SQL + result resource error

2001-07-08 Thread Matthew Loff
($wordsarray); $sql=$sql."$word)"; $i++; } print "$sql"; $queryResult = mysql_query($sql); while ($myrow=mysql_fetch_row($queryResult)) { print "$myrow[0],"; } -Original Message- From: Mark Gordon [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 7

[PHP-DB] Dynamic SQL + result resource error

2001-07-08 Thread Mark Gordon
Why is this code generating an error when it outputs a valid SQL statement? (there are no parse errors) //$find is text box input $wordsarray = explode(" ",$find); $sql = "SELECT bandname FROM bands WHERE (bandname LIKE "; $i = 0; while ($i < count($wordsarray)) { $word = current($wordsar