Jump to content

izidorg

New Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by izidorg

  1. what's up with the colons at the name? name:="comments"

    skip those and it will work, name="comments"

     

    The data from the textarea will then be stored in $_POST['comments'] and you can access it through $_REQUEST['comments'] as well as you just tried.

     

    Thanks, it worked great form me.

    Best regards! :cool:

  2. Hello,

     

    I'm new to WEB design coding.

    Trying to following some video from the site.

     

    Why I cannot display text entered in the html form in PHP?

    I can successfully display other tags in the same PHP file.

    The code I'm using is the following:

     

     

    Comments:

     

     

    ...

    The text entered in the text box and submitted. The form_response.php file handles properly other tags but not the textarea tag.

     

    in the form_response.php file the following code gets NULL in the $comments variable.

    $comments = $_REQUEST['comments'];

     

    Any help is appreciated.

×
×
  • Create New...