note 8954 deleted from echo by jmcastagnetto

From: Date: Mon, 09 Oct 2000 23:09:35 +0000
Subject: note 8954 deleted from echo by jmcastagnetto
Groups: php.notes 
Request: Send a blank email to php-notes+get-6257@lists.php.net to get a copy of this message
I'm having problems with having an input form and a submit button and having the form action be the html file. Example: <pre> <html> <body> &lt;? echo $blah . "<p>"; ?> <form method="post" action="blah.php"> <input type="text" name="blah" value="&lt;? echo $blah; ?>"> <input type="submit" value="go"> </form> </body> </html> </pre> The problem is that it replaces every quote and apostrophe in the $blah variable with a in front of it, which is really bad for entering text and stuff. Any ideas why it;s doin this? How to disable it?

« previous php.notes (#6257) next »