RE: [PHP-WIN] Simple question that I can't find the answer to

2001-01-16 Thread Asendorf, John
4 AM > To: Asendorf, John > Cc: Php-Windows (E-mail) > Subject: Re: [PHP-WIN] Simple question that I can't find the answer to > > > Depends on why you want to lop it down to a single line? Is > this to make your > code tidier, or to improve execution time (the latter I

Re: [PHP-WIN] Simple question that I can't find the answer to

2001-01-15 Thread Tom
Depends on why you want to lop it down to a single line? Is this to make your code tidier, or to improve execution time (the latter I doubt, as it won't take long to perform the code you describe!). The neat solution would obviously be a function (maybe even in javascript!) that takes the paramet

Re: [PHP-WIN] Simple question that I can't find the answer to

2001-01-13 Thread L Forrister
Sorry for the multiple post. Sometimes the mouse buttons on this lap top... ~~LF

Re: [PHP-WIN] Simple question that I can't find the answer to

2001-01-13 Thread L Forrister
10:01 AM Subject: Re: [PHP-WIN] Simple question that I can't find the answer to Yeah, but you could run into overflow problems with large values of a and b. Sean Jan Walter wrote: > > If you are working with numbers, which is perhaps not your case, you can use > th

Re: [PHP-WIN] Simple question that I can't find the answer to

2001-01-13 Thread L Forrister
10:01 AM Subject: Re: [PHP-WIN] Simple question that I can't find the answer to Yeah, but you could run into overflow problems with large values of a and b. Sean Jan Walter wrote: > > If you are working with numbers, which is perhaps not your case, you can use > th

Re: [PHP-WIN] Simple question that I can't find the answer to

2001-01-13 Thread L Forrister
10:01 AM Subject: Re: [PHP-WIN] Simple question that I can't find the answer to Yeah, but you could run into overflow problems with large values of a and b. Sean Jan Walter wrote: > > If you are working with numbers, which is perhaps not your case, you can use > th

Re: [PHP-WIN] Simple question that I can't find the answer to

2001-01-13 Thread L Forrister
outing Office released on April 7, 2000. > -Original Message- > From: Daniel Beulshausen [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 12, 2001 3:29 PM > To: Asendorf, John; Php-Windows (E-mail) > Subject: Re: [PHP-WIN] Simple question that I can't find th

Re: [PHP-WIN] Simple question that I can't find the answer to

2001-01-13 Thread Sean Bright
Yeah, but you could run into overflow problems with large values of a and b. Sean Jan Walter wrote: > > 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; > -- > >

Re: [PHP-WIN] Simple question that I can't find the answer to

2001-01-13 Thread Jan Walter
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; -- __ ===

RE: [PHP-WIN] Simple question that I can't find the answer to

2001-01-12 Thread Daniel Beulshausen
At 15:26 12.01.2001 -0500, Asendorf, John wrote: >I have a set of date selectors which then people can use to search between >two dates. Even though they say FROM and TO, people will undoubtedly put >the dates in the wrong order on occassion. If this happens (I've already >got the IF statement),

RE: [PHP-WIN] Simple question that I can't find the answer to

2001-01-12 Thread Asendorf, John
> Sent: Friday, January 12, 2001 3:29 PM > To: Asendorf, John; Php-Windows (E-mail) > Subject: Re: [PHP-WIN] Simple question that I can't find the answer to > > > At 14:19 12.01.2001 -0500, Asendorf, John wrote: > >Is there a single line of code to do the following? &

Re: [PHP-WIN] Simple question that I can't find the answer to

2001-01-12 Thread Daniel Beulshausen
At 14:19 12.01.2001 -0500, Asendorf, John wrote: >Is there a single line of code to do the following? > >I'm trying to interchange two variables' contents... I can do it with the >following, but I was just wondering... I can't find it if there is... > >$a = "abc"; >$b = "def"; > >$temp = $b; >$b