PHP variables in form submitted to a new window, $_POST single quotes or double quotes
Posted on 2008-10-21
I have a form that posts information to another page which is in a new window and I was wondering whether I should be using double quotes or single quotes in that next page
$var = $_POST['var'];
$var = $_POST["var"];
what is the difference between using either and why does my page that the form is submitted to in the new window sometimes not show the variables ? mostly the first time I submit the form, click back and do it again and it works fine ?
Currently I am using double quotes
Thanks in Advance