Hi,
The following code is giving me a "parse error, unexpected T_STRING."
$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");
It's supposed to increment the value ad_id in the ads table. The
current_ad action works fine and correctly retrieves the right record.
I suspect I have a problem with my quotes?
- Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Re: [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