Re: Simple question that I can't find the answer to
| From: | Jan Walter | Date: | Sat, 13 Jan 2001 16:59:25 +0000 |
| Subject: | Re: Simple question that I can't find the answer to | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-4970@lists.php.net to get a copy of this message | ||
If you are working with numbers, which is perhaps not your case, you can use
this simple trick to swith values of $a and $b:
$a = $a + $b;
$b = $a - $b;
$a = $a - $b;
--
__________________________________________________________________________________________
==========================================================================================
Jan Walter, called John
LERACH, s.r.o.
phone nr. work: +420-2-78 22 619, home: +420-2-35 35 27 61
on emergency call cell phone: +420-602-385 760
work e-mail mailto:Jan.Walter@lerach.cz
private e-mail mailto:john@lerach.cz
ICQ#: 28353428
__________________________________________________________________________________________
==========================================================================================