dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: A PHP problem in my site

  1. #1
    Join Date
    Oct 2010
    Posts
    11

    A PHP problem in my site

    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:

    HTML Code:
    <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:

    HTML Code:
    <input type="text" id="email" name="email" class="mywidth" value="<?php
    if (isset($articleDetails['email']) && $articleDetails['email'] != NULL)
    echo $articleDetails['email'];
    ?>">
    Thanks,
    Steve

  2. #2
    Join Date
    Feb 2012
    Location
    youTUBE
    Posts
    234
    The General guidelines for all articles appeared, in my IE9 browser. I had to allow Java not javascript through my firewall.

    I did exactly as you asked and all the information reappeared. I stopped at the paying of the five dollers!

  3. #3
    Join Date
    Oct 2010
    Posts
    11
    Yes, I fixed that.
    I removed the value attribute for the <textarea>

    Thanks anyway.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles