I'm not sure if this is an HTML issue or a PHP issue. But I have a form that once it's submitted I have the value that was input reinsert back into the box so they can edit other boxes later without starting over. If the input is more than one word after the submit button the page only returns the first word and nothing after it. I've tried the explode() function and then attempted to echo the result with spaces inbetween but it still removes them...
<form action="t1-manuf.php" method="get">
<h2>T1 Manufacturing</h2>
<input type="text" name="term" value=<?php
$string = explode(" ",$_GET["term"]);
echo implode(" ",$string);
?>> :Search<br>
<input type="submit" />
</form>
I tried imploding with %20 to force a space but that didn't work, I also tried a + sign but I didn't think those would work and sure enough they didn't. Any help would be great.