Why do some of my variables cut off at the first space when I echo them inside an html input box?
I can pass them around to other pages and databases and echo them out anywhere without a problem. If I pull the data out of MySQL and echo it inside a form there is no problem, but not if the variable was merely posted from another page, or even if it was defined earlier on on the same page for that matter!
I can echo the variable on the same page outside the form and it's all there, so why......
Code: Select all
<input type=text size=75 name=event value=<?php echo $_POSTї'event'] ?>>