Can anyone see a problem with this query!
UPDATE advertiser_info SET CreditLeft = CreditLeft - 0.01, HitsReceived = HitsReceived + 1 WHERE PrimaryID = 4
No error is produced by mysql_error(), and other parts of the query are updated fine (such as (HitsReceived), but CreditLeft does not seem to get deducted!
This is in PHP BTW
(relating to the mysql_error())
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
UPDATE advertiser_info SET CreditLeft = CreditLeft - 0.01, HitsReceived = HitsReceived + 1 WHERE PrimaryID = 4
No error is produced by mysql_error(), and other parts of the query are updated fine (such as (HitsReceived), but CreditLeft does not seem to get deducted!
This is in PHP BTW
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

