Using single quotes versus double quotes (explanation?)
Posted: Thu Jan 15, 2009 5:49 pm
So i was trying to debug this code:
header('Location: http://secure.mysite.com/managepicture.php?var=$var');
and realized by changing the single quotes to double quotes, it worked... But how do you know when to use single quotes and when to use double quotes?
Best,
Chris
header('Location: http://secure.mysite.com/managepicture.php?var=$var');
and realized by changing the single quotes to double quotes, it worked... But how do you know when to use single quotes and when to use double quotes?
Best,
Chris