Jump to content

Archived

This topic is now archived and is closed to further replies.

snake310

Variable help...!!!!pls

Recommended Posts

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 3

BTW i use these variables later in the page so when i reload the errormessages disapear and everything works fine.
Any1 has any idea?? ???

Share this post


Link to post
Share on other sites
[code=php:0]
$get1 = $_GET['list'] ? $_GET['list'] : '';
[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.