www.webdeveloper.com
Results 1 to 5 of 5

Thread: Acquiring Information From Forms

  1. #1
    Join Date
    Jul 2007
    Posts
    2

    Acquiring Information From Forms

    I've set up a form, but am not receiving information specifically that associated with checkboxes and radio buttons. Only the text boxes work.

    I've been using the {$_POST["objectname"]} option, but it doesn't work.

    Is there anyway that I can modify it for said data.

  2. #2
    Join Date
    Jul 2007
    Posts
    113
    I doubt the problem is with the PHP. A form should should pass information from all input elements similarly. If you are getting data from text fields and not radio buttons, I'd go back and check the form.

  3. #3
    Join Date
    Jul 2007
    Posts
    2
    I understand that but here's the thing.. its an html code that is being used by php on reply I would get something like:

    Object: ($_POST["name]} instead of...
    Object: Information...

    It is actually being used by my forum... so that's the problem.

  4. #4
    Join Date
    Jul 2007
    Posts
    113
    If it is a php problem you would probably do better to post in the php forum and give a much more complete code example.

  5. #5
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    Is the form method POST?
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

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