Hi all. I have this problem within the form. I take data from a DB and pass it on using POST. Considering that I fetched array correctly, the following code has the following output:
echo $value[0];
//echoes Hello World
echo "<input type=hidden name=value value=".$value[0].">";
//when echoed in the form action page as $_POST, it echoes Hello only
I don't understand why I can't pass the entire Hello World phrase using hidden inputs. I also tried:
a) closing the input with the </input> tag. //no effect
b) closing php and using plain html as in:
?> <input type=hidden name=value value= <?php echo $value[0]; ?> > <?php //no effect