note 23780 added to ref.array
| From: | bounty_arz at hotmail dot com | Date: | Sun, 28 Jul 2002 16:13:02 +0000 |
| Subject: | note 23780 added to ref.array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33831@lists.php.net to get a copy of this message | ||
There is something strange with array indexes !
<?php
!isset($_GET["action"])?$action=$_POST["action"]
:$action=$_GET["action"];
?>
This code produce always a PHP error :
PHP Notice: Undefined index: action in .... on line xx
I didn't find any advice to get this out !
Does someone can help me ?
--
http://www.php.net/manual/en/ref.array.php
http://master.php.net/manage/user-notes.php?action=edit+23780
http://master.php.net/manage/user-notes.php?action=delete+23780
http://master.php.net/manage/user-notes.php?action=reject+23780