snake310 Posted August 22, 2006 Share Posted August 22, 2006 Hello I have this at the satat of the page$get1=$_GET['list'];$get2=$_GET['list2'];$get3=$_GET['list3'];$serial=$_GET['serial'];$InTime=$_GET['InTime'];$provider=$_GET['provider'];$validnumb=$_GET['validnumb'];I think i don`t have to tell what it dose , what can i do to make list , list2, ... validnumb not an unidentified index??and the error message :Notice: Undefined index: list in c:\program files\easyphp1-8\www\new prod.php on line 3BTW i use these variables later in the page so when i reload the errormessages disapear and everything works fine.Any1 has any idea?? ??? Link to comment https://forums.phpfreaks.com/topic/18275-variable-helppls/ Share on other sites More sharing options...
manmadareddy Posted August 22, 2006 Share Posted August 22, 2006 error_reporting(E_ALL ^ E_NOTICE); Link to comment https://forums.phpfreaks.com/topic/18275-variable-helppls/#findComment-78471 Share on other sites More sharing options...
trq Posted August 22, 2006 Share Posted August 22, 2006 [code=php:0]$get1 = $_GET['list'] ? $_GET['list'] : '';[/code] Link to comment https://forums.phpfreaks.com/topic/18275-variable-helppls/#findComment-78473 Share on other sites More sharing options...
manmadareddy Posted August 22, 2006 Share Posted August 22, 2006 $get1 = isset($_GET['list']) ? $_GET['list'] : ''; Link to comment https://forums.phpfreaks.com/topic/18275-variable-helppls/#findComment-78479 Share on other sites More sharing options...
trq Posted August 22, 2006 Share Posted August 22, 2006 doh... Link to comment https://forums.phpfreaks.com/topic/18275-variable-helppls/#findComment-78481 Share on other sites More sharing options...
snake310 Posted August 22, 2006 Author Share Posted August 22, 2006 Thx Thx Thx it worked ;D Link to comment https://forums.phpfreaks.com/topic/18275-variable-helppls/#findComment-78489 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.