aquatsr Posted September 13, 2006 Share Posted September 13, 2006 I have a form that redisplays information when it isn't filled out correctly. Unfortunately in my <textarea> the information isn't redisplayed. Why would that be? Link to comment Share on other sites More sharing options...
reportingsjr Posted September 13, 2006 Share Posted September 13, 2006 are you using it like this:echo "<texarea..blah...>{$rows[2]}</textarea>";?Because you dont use value for textarea ;-) Link to comment Share on other sites More sharing options...
aquatsr Posted September 14, 2006 Author Share Posted September 14, 2006 Uhhh. I'm not sure what you mean. I'm using this: English Excerpt<br /><textarea name="engexcerpt" rows="6" cols="50" value="<?php echo htmlspecialchars(stripslashes($excerpt)); ?>"</textarea><br /><br /> Link to comment Share on other sites More sharing options...
skym Posted September 14, 2006 Share Posted September 14, 2006 reportingsjr is right, it should be:<textarea name="engexcerpt" rows="6" cols="50"><?php echo htmlspecialchars(stripslashes($excerpt)); ?></textarea> Link to comment Share on other sites More sharing options...
aquatsr Posted September 14, 2006 Author Share Posted September 14, 2006 are you using it like this:echo "<texarea..blah...>{$rows[2]}</textarea>";?Because you dont use value for textarea ;-) reportingsjr is right, it should be:<textarea name="engexcerpt" rows="6" cols="50"><?php echo htmlspecialchars(stripslashes($excerpt)); ?></textarea>Got it, thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now