Re: Is my syntax wrong?

From: Date: Tue, 04 Feb 2003 17:30:09 +0000
Subject: Re: Is my syntax wrong?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-134299@lists.php.net to get a copy of this message
I think we are almost there. This code is not producing an error, but it is also not incrementing the database. The value stays at zero. Any idea what could be wrong? $inc_current_ad = WrapMySQLDatabaseResults("macasap", "update ads where ad_id = ".$current_ad->Value("ad_id")." set rotate=".($current_ad->Value("rotate")+1), "block=0","inc_current_ad"); Other queries of the same db on the page are working, so it's probably not a configuration/connectivity issue. - Brian

« previous php.general (#134299) next »