Find the answer to your Linux question:
Results 1 to 2 of 2
I'm having a problem retrieving information from a POST form to a php script and am receiving the following error: PHP Notice: Undefined index: pictureCategory in /var/www/html/categorySelect.php on line 15 ...
  1. #1
    Just Joined!
    Join Date
    Jul 2008
    Posts
    3

    Undefined Index

    I'm having a problem retrieving information from a POST form to a php script and am receiving the following error:

    PHP Notice: Undefined index: pictureCategory in /var/www/html/categorySelect.php on line 15

    When I print the array on the line before and after line 15 I get:

    Array
    {
    [pictureCategory] => Blah
    [submitButtonName] => Submit
    }

    I have also tried accessing submitButtonName, but I get the same result.

    The really strange thing is that it sort of works. I say sort of because one query works and the other doesn't.

    I can provide additional code if that would help--didn't want to clog up the OP with a bunch of code which would make it harder to read.

  2. #2
    Linux User
    Join Date
    Jun 2007
    Posts
    458
    Post your full code. we shall be able to see whats in line 15.
    "When you have nothing to say, say nothing."

Posting Permissions

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