Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: $_post

  1. #1
    Regular Coder
    Join Date
    Apr 2007
    Posts
    123
    Thanks
    1
    Thanked 0 Times in 0 Posts

    $_post

    Does $_POST read all form objects with a name such as
    Code:
    <td name="cellname">data</td>
    or only those with user input as in form entry fields?
    Code:
    <td><input type="checkbox" name="check"></td>

  2. #2
    Master Coder Dormilich's Avatar
    Join Date
    Jan 2010
    Location
    Behind the Wall
    Posts
    5,478
    Thanks
    22
    Thanked 561 Times in 555 Posts
    it only reads from named form control elements (input, button, select, textarea) that are inside the submitting form.

    PS. table cells are not allowed to have names.
    The computer is always right. The computer is always right. The computer is always right. Take it from someone who has programmed for over ten years: not once has the computational mechanism of the machine malfunctioned.
    André Behrens, NY Times Software Developer

  3. #3
    Master Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    5,193
    Thanks
    113
    Thanked 610 Times in 596 Posts
    If you want to transmit data from a form table then use hidden form elements instead.
    Quote Originally Posted by deathshadow View Post
    So seriously, loosen up that tie, let out the belt, and try relating to normal people on the street instead of the gentleman's club crowd.


 

Posting Permissions

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