Page 1 of 1

What is the difference between '' and ""?

Posted: Thu Jun 10, 2010 10:29 am
by eyepoppy
What is the difference between ' ' and " "?

I want to display $area valuable inside the include statement but ' ' within ' ' just doesn't work.

$area = "_body"
include('include/_'$area'.php')

How can I get around it?

Re: What is the difference between '' and ""?

Posted: Thu Jun 10, 2010 10:40 am
by AbraCadaver
eyepoppy wrote:What is the difference between ' ' and " "?

I want to display $area valuable inside the include statement but ' ' within ' ' just doesn't work.

$area = "_body"
include('include/_'$area'.php')

How can I get around it?
http://us2.php.net/manual/en/language.types.string.php