why does this work?
shouldnt you have to escape the double quotes even withing a single quote style "echo" also?
<?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>';
}
?>
I'm happy this works but I'd like to get some confirmation and make sure this isnt a weird glitch...
so I dont get used to doing something incorrect