Jump to content

Doing my thing


Boxerman

Recommended Posts

Hi guys,

 

i installed a script working nicely, i went to edit something and got this 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 '' where ad_id=''' at line 1"

 

here is line 1:

 

$tablae = mysql_query("SELECT * FROM ads where ad_id='$id'"); // selecciono todos los registros de la tabla usuarios, ordenado por nombre

 

 

ive seen the where ad_id= all over the place yet this one is causing a problem?

Link to comment
https://forums.phpfreaks.com/topic/117501-doing-my-thing/
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.