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

Posted by Jerry Stuckle on 09/04/07 20:18

Reggie wrote:
> Am getting this notice.any ideas:
>
> Notice: Undefined index: completed in /home/fhlinux169/c/
> clashoff.co.uk/user/htdocs/picture.php on line 17
>
> Notice: Undefined index: gim in /home/fhlinux169/c/clashoff.co.uk/user/
> htdocs/picture.php on line 52
>
>
<code snipped>

It means 'completed' and 'gim' indexes were not set in the $_GET or
$_POST superglobal. If you're using the GET method, you don't have
something like:

http://www.example.com?completed=1&gim=yes

Or, if you're using $_POST method, you don't have fields in your form
with those values.

And BTW - rather then using $_REQUEST, you should use the $_GET or
$_POST superglobal, depending on which method you're expecting.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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