Jump to content

PHP/Database help!


lalnfl

Recommended Posts

Where are you setting or getting $matches from? You are likely setting it to 'T' or 'TRUE', probably by a comparison that is actually an assignment statement (i.e. one = sign instead of two.)

 

Also, you don't need to SELECT a value in order to UPDATE it, just increment the value IN the UPDATE query.

 

 

Link to comment
https://forums.phpfreaks.com/topic/216733-phpdatabase-help/#findComment-1125983
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.