Results 1 to 3 of 3

Thread: A PHP problem in my site

  1. #1
    Join Date
    Oct 2010

    A PHP problem in my site

    I have a problem with my site:

    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'];
    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'];

  2. #2
    Join Date
    Feb 2012
    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!
    Knowledge is that which can be shown to be the case, and Intelligence is the method one uses to deploy the demonstration of what is the case, everything else is Information.

    For a stronger Text reading try:

  3. #3
    Join Date
    Oct 2010
    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