I'm pretty sure this is correctly written and correctly escaped - can anyone tell me why it just creates two text inputs one with the value of \"GO\" ??
<?php
if(isset($_POST['text'])){
echo'it works';
}elseif(!isset($_POST['submit'])){
echo '<form action=\"this_same_file.php\" method=\"POST\">
Text Input<br/>
<input type=\"text\" name=\"text\" /><br />
<input type=\"submit\" value=\"GO\" />
</form>';
}
?>
any thoughts?