You are here: Re: Newbie Three « PHP Programming Language « IT news, forums, messages
Re: Newbie Three

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/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация