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?? ??? Quote 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); Quote 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] Quote 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'] : ''; Quote 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... Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/18275-variable-helppls/#findComment-78489 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.