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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- [PHP] Is my syntax wrong? Brian Dunning
- Re: [PHP] Is my syntax wrong? 1LT John W. Holmes
- Re: [PHP] Is my syntax wrong? 1LT John W. Holmes
- Re: [PHP] Is my syntax wrong? Brian Dunning
- Re: [PHP] Is my syntax wrong? Jason Wong
- RE: [PHP] Is my syntax wrong? John W. Holmes
- Re: [PHP] Is my syntax wrong? Brian Dunning
- RE: [PHP] Is my syntax wrong? John W. Holmes