----- Original Message -----
From: "Charles Kline" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 17, 2003 11:57 AM
Subject: [PHP] What is the difference: include()
> What is the difference as in... why one or the other?
>
> include('somefile.php');
>
> include("somefile.php");
>
> Just wondering...
>
> - ck
There is no difference in functionality of your example. Single quotes
assumes a litteral string. Double quotes assumes variables within the
string are parsed. In other words:
$myvar = 'foo';
echo '$myvar bar'; // prints "$myvar bar"
echo "$myvar bar"; // prints "foo bar"
HTH,
Kevin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php