Jump to content

aarghh! why is this giving me errors...?!


Alexhoward

Recommended Posts

hello!

 

$query2="SELECT link FROM links WHERE group = 'shopping' and subgroup = 'mall'";

 

getting the 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 'group = 'shopping' and subgroup = 'mall'' at line 1

 

this works fine everywhere else..

 

can anyone help me?

 

Thanks

 

Link to comment
https://forums.phpfreaks.com/topic/97314-aarghh-why-is-this-giving-me-errors/
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.