January 22nd, 2000, 07:55 AM
I have a problem with transmitting information from one, to another file in PHP.
This is how I do:
<textarea rows="2" name="message" cols="20">
<input type=hidden name=message value=<?php echo $message ?>>
Information2: <input type=text name=info2><br>
Message: <?php echo $message ?>
When I come to step2, the message is only one word long.
January 22nd, 2000, 08:17 AM
You need to place quotes around the hidden field value so that it can be passed. Otherwise, it'll be truncated at the first space. (this is an HTML issue).
<input type=hidden name=message value="<?php echo $message ?>">