Raised This Month: $ Target: $400
 0% 

problem with %s


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Xanacas
Member
Join Date: Dec 2007
Old 08-26-2008 , 19:27   problem with %s
Reply With Quote #1

if a small problem:
this give me the correct string back!
PHP Code:
client_print(0,print_chat,"http://www.fg-lan.de/hlstats/web/hlstats2.php?mode=playerinfo2&uniqueid2=%s",Authid
und beim but in this case not, if i say in php echo $uniqueid2; i get '3%' back, whats wrong!?
PHP Code:
show_motd(id"http://www.fg-lan.de/hlstats/web/hlstats2.php?mode=playerinfo2&uniqueid2=%s",Authid)

thx4 help and sry4my bad english!
Xanacas is offline
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 08-26-2008 , 20:16   Re: problem with %s
Reply With Quote #2

you canīt use %s in show_motd.
format the string before
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who donīt.
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-26-2008 , 23:26   Re: problem with %s
Reply With Quote #3

Scripting questions belong in Scripting Help
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:02.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode