> -----Original Message----- > From: Afan Pasalic [mailto:[EMAIL PROTECTED]] > > I have the same problem but putting $var_name = > $_GET['var_name'] didn't solve the problem. I put it on the > top of the page (e.g. line no. 2) and I'm getting error: > PHP Warning: Undefined index: var_name in > F:\bhdanas.com\index.php on line 2 > > Any idea? > > > Afan
if (!isset($_GET['var_name'])) { $var_name = "default value"; } else { $var_name = $_GET['var_name']; } /brother -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php