Mysql and stopquery problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




How can I use USER VARIABLE in MySQL query for gnugk.
I set it as folows but It does'nt work.......

long temp = 2;
StopQuery = "UPDATE pin SET remain=remain-('%d'* '%ld') WHERE pinnumber =
'%u'",temp;

-------------------------------------------------
BDCOM Online Limited. http://www.bdcom.com


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux