Gossamer Forum
Quote Reply
Huh?
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 Tongue (relating to the mysql_error())

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Huh? Andy 8478 Sep 25, 2002, 9:17 AM
Thread Re: [Andy] Huh?
Alex 8034 Sep 25, 2002, 10:22 AM
Thread Re: [Alex] Huh?
Andy 8075 Sep 26, 2002, 6:19 AM
Thread Re: [Andy] Huh?
Paul 8014 Sep 26, 2002, 7:29 AM
Post Re: [Paul] Huh?
Andy 7940 Sep 26, 2002, 7:37 AM