Hi-
How am I to know when I should use quotes in these situations:
$POST[quotesHere] or
$POST['quotesHere'] => Is this correct?
Take this for example:
$form_block = "
<h1>Login</h1>
<form method=\"post\" action=\"$_SERVER[PHP_SELF]\" />
$errMsg
=> If I had instead used - action=\"$_SERVER['PHP_SELF'] I get errors on the page.
Is it as simple as saying - yes you use quotes or no you don't?
Thanks for any help!