|
Posted by Geoff Berrow on 07/09/07 12:54
Message-ID: <FbWdnbdgd6g9hw_bnZ2dnUVZ_vCknZ2d@comcast.com> from Jerry
Stuckle contained the following:
>You're problem is these values aren't being passed to your script.
>
>For instance, your first message references $_POST['field_name_arr'],
>but the $_POST array doesn't have an element with an index 'field_name_arr'.
>
>Your next one is looking for $_GET['limit'], which doesn't exist. And
>so on.
I suspect this isn't the whole page. He's probably cut a form off
somewhere. The variables obviously don't exist until the form is POSTed
hence the notices.
Probably the easiest was to resolve this is to surround all the form
processing stuff with a conditional
e.g
if(isset($_POST['some_Text_variable_that_should_be_there'])){
//form processing code goes here
}
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
[Back to original message]
|