On Wednesday 13 November 2002 02:35, Leif K-Brooks wrote:
> I'm just guessing here.  For one thing, to seperate variables from
> constants.  Also, it makes it possible to use variables within quotes.

Yup. So you can have:

  print "I'm a $variable";

instead of the messy javascript way:

  alert("I'm a " . $variable);

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Aleph-null bottles of beer on the wall,
Aleph-null bottles of beer,
You take one down, and pass it around,
Aleph-null bottles of beer on the wall.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to