Stevejon Posted March 19, 2013 Share Posted March 19, 2013 Hi,I have a problem with my site:http://www.articles4less.com/order/In order to see what I'm talking about, please fill in this page an email address + general guidelines for all articles + subject+words for one article, then click 'continue', and then click 'edit' in the Shopping Cart.You will see that all the details are there, except of the 'General Guidelines for All Articles' field (textarea). Why is that?Here are the code of this field: <textarea id="comments" name="comments" value="<?php if (isset($articleDetails['comments']) && $articleDetails['comments'] != NULL) echo $articleDetails['comments']; ?>"/></textarea> For comparison, here is the code of the email field: <input type="text" id="email" name="email" class="mywidth" value="<?php if (isset($articleDetails['email']) && $articleDetails['email'] != NULL) echo $articleDetails['email']; ?>"> Thanks,Steve Quote Link to comment https://forums.phpfreaks.com/topic/275859-a-php-problem-in-my-site/ Share on other sites More sharing options...
gristoi Posted March 19, 2013 Share Posted March 19, 2013 is a textarea, dosent go into value, try this: <textarea id="comments" name="comments"><?php if (isset($articleDetails['comments']) && $articleDetails['comments'] != NULL) echo $articleDetails['comments']; ?></textarea> Quote Link to comment https://forums.phpfreaks.com/topic/275859-a-php-problem-in-my-site/#findComment-1419551 Share on other sites More sharing options...
Stevejon Posted March 19, 2013 Author Share Posted March 19, 2013 Great! Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/275859-a-php-problem-in-my-site/#findComment-1419567 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.