Originally posted by friedstingray
I made the following hidden form...
the problem is that when ever the page is display, it will have "> in the page..
what is wrong and why is the "> displayed?
echo " <input type=\"hidden\" name=\"hiddenField\" id=\"cpu_id\" value\"<?=$cpu_id?> \"> ";
change to this
echo "<input type=\"hidden\" name=\"hiddenField\" id=\"cpu_id\" value=\"$cpu_id\">";
because you are already in PHP-Mode, you don't need to use the <?=$cpu_id?> method to output the variable value. Alternatively, you could use
?> // exit php-mode and go html-mode
<input type="hidden" name="hiddenField" id="cpu_id" value="<?=$cpu_id?>">
<?php // get back into php-mode