Re: Notice: Undefined index: op

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bret Hughes wrote:
On Tue, 2005-02-22 at 10:49, Matt M. wrote:

On Tue, 22 Feb 2005 10:47:43 -0600, Matt M. <h.dudeness@xxxxxxxxx> wrote:
[snip]
try:

if (isset($_POST['op']) && $_POST['op'] != 'ds')


sorry for 2 emails, looks like you would want if (!isset($_POST['op']) || $_POST['op'] != 'ds')


I vote for the first one.

Bret

Your vote is misplaced - the first one isn't what he wanted... with that statement, his form will never be printed and it can never be set.


Cheers,
--
- Martin Norland, Sys Admin / Database / Web Developer, International Outreach x3257
The opinion(s) contained within this email do not necessarily represent those of St. Jude Children's Research Hospital.


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux