Marco Tabini wrote:
Single quotes are normal strings. Double quotes are strings in which
substitutions can take place. For example:
<?php
$a = 'test';
echo '$a'; // outputs $a
echo "$a"; // outputs test
?>
Double quotes also expand escape strings (e.g."\n") whereas single
quotes don't.
However, in a case like this:
--------------
What is the difference between:
$familyname = getvar("familyname");
and
$familyname = getvar('familyname');
--------------
There's no effective difference.
:)
Good magazine Marco - keep it up!
Michael Kimsal
http://www.phpappserver.com
734-480-9961
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php