[PHP] RE: Invalid Argument ??? Not sure how to debug this

2002-03-18 Thread Tim Ward
Try ... If ($result = ...) { ... ... } else echo(mysql_error()); I always do querying like this anyway (without the error echo in live stuff obviously) Tim Ward Internet Chess www.chessish.com -- From: Daniel Negron/KBE [SMTP:[E

[PHP] Re: Invalid Argument ??? Not sure how to debug this (RESOLVED)

2002-03-17 Thread Daniel Negron/KBE
I guess I should have walked away then come back to it. I was just trying to get this code to work with little effort as possible. I guess, I should have done it right in the first place. What I didn't realize is that I mistakenly made $sql= "SELECT * FROM cd_list WHERE $searchstring LIKE '%

[PHP] Re: Invalid Argument ??? Not sure how to debug this

2002-03-17 Thread jtjohnston
Daniel, $myrow["artist"] and $myrow["title"] might be a good place to start. It looks like all your ; are in place. I don't think you can place " inside [] like that: echo "".$myrow["artist"]."".$myrow["title"]; > I have been struggling with this code: I was wondering if someone could > lend