Page 1 of 1

passing args

Posted: Mon Mar 17, 2003 12:42 pm
by kerick
If I use the following code:
echo ("<a href="managedel.php?id=$id&task=del\">delete</a>");
I get a link that says delete, and passes an id of x and task as del
however in the webpage managedel.php it doesn't see anything in the variables?
in this case where does the var get passed to ( its not a post like a form)
???

Posted: Mon Mar 17, 2003 12:43 pm
by protokol
$_GET['id'] and $_GET['task']

Passing variables (register_globals)

thanks for the quick response

Posted: Mon Mar 17, 2003 12:52 pm
by kerick
got it... it works...