Raised This Month: $ Target: $400
 0% 

[HELP] Switching two variables


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AoD90
Senior Member
Join Date: Jul 2008
Location: Ugljevik/RS/BIH
Old 12-26-2008 , 14:59   Re: [HELP] Switching two variables
Reply With Quote #1

Is there a way to put this in some function so I could call it like this:

replace(var1,var2)

and it will replace those two vars
AoD90 is offline
Send a message via MSN to AoD90
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 12-26-2008 , 15:04   Re: [HELP] Switching two variables
Reply With Quote #2

I think this
PHP Code:
replacea)
{
    new 
aux;
    
    
aux a;
    
b;
    
aux;

__________________

anakin_cstrike 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 23:10.


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