Jump to content

newb problems with mysql_query


counterbeing

Recommended Posts

[code] mysql_query('UPDATE `images` SET `group` = \'misc.\' WHERE `group`=\'$del\''); [/code]
I've been looking over my code and determined that this is the line that is not working. Things don't seem to make sense sometimes when things are being inserted into a mysql_query. I assume it must have to do with my variable. Just before this code I am editing things in the same database but a different table, so I am definately connected properly...

Any help is always appreciated. Thanks.

Also... can anyone point me to some simple rules regarding quotes inside queries?
Link to comment
https://forums.phpfreaks.com/topic/29593-newb-problems-with-mysql_query/
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.