passing args

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kerick
Forum Newbie
Posts: 5
Joined: Mon Mar 17, 2003 12:42 pm

passing args

Post 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)
???
User avatar
protokol
Forum Contributor
Posts: 353
Joined: Fri Jun 21, 2002 7:00 pm
Location: Cleveland, OH
Contact:

Post by protokol »

$_GET['id'] and $_GET['task']

Passing variables (register_globals)
kerick
Forum Newbie
Posts: 5
Joined: Mon Mar 17, 2003 12:42 pm

thanks for the quick response

Post by kerick »

got it... it works...
Post Reply