Jump to content

[SOLVED] mysql query help


dtdetu

Recommended Posts

hello i need some help about this query

 

 $q1=mysql_query("select * from projects where isid = '$r[id]' or isid2='$r[id]' or isid3='$r[id]' or isid4='$r[id] or isid5='$r[id]'") or die(mysql_error());
   

 

it gives me error :

 

 	
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1'' at line 1

 

can anyone point me the error pls thanks

 

EDİT: i saw the problem thanks:)

Link to comment
https://forums.phpfreaks.com/topic/137503-solved-mysql-query-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.