[PHP] Re: $var , '$var' From: Christopher Sogge Røtnes (chro <email protected>)
Date: 08/19/01

"Nafiseh Saberi" <nsaberi <email protected>> wrote in message
news:200108190633.f7J6XHZ15447 <email protected>
>
> hi.
> what is the difference between $var and '$var' ?/
> thanks.

'$var' has little marks like this --> ' <--- around it
call it a "border" useful when adding such item to a sql query or printing
distinct.
(when you get to regexping you cant live without such items)

Chris

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>