Reply to Re: Undefined Index notices

Your name:

Reply:


Posted by Geoff Berrow on 06/10/06 12:48

Message-ID: <wL6dnTTZZNkadBTZnZ2dnUVZ_v6dnZ2d@insightbb.com> from Craig
Morrison contained the following:

> if ($_SERVER['REQUEST_METHOD'] == 'POST')
> $id_option = $_POST['D1']; // <=== DING we have winner, notice gets raised

Dumb question. You get the notice /after/ the form is posted?

Have you tried
$id_option =(isset($_POST['D1'])? $_POST['D1'] : "";




--
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]


Удаленная работа для программистов  •  Как заработать на 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

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