Perad Posted November 2, 2006 Share Posted November 2, 2006 I have this line handleDelete($_GET['id']);I need to change this so that it gets type as well as id. I tried...[code]handleDelete($_GET['id','type']);[/code]but this is wrong, how can i do this? Link to comment https://forums.phpfreaks.com/topic/25927-grabbing-more-than-one-variable-from-address-bar/ Share on other sites More sharing options...
trq Posted November 2, 2006 Share Posted November 2, 2006 How many arguments does handleDelete accept?[code=php:0]handleDelete($_GET['id'], $_GET['type']);[/code] Link to comment https://forums.phpfreaks.com/topic/25927-grabbing-more-than-one-variable-from-address-bar/#findComment-118396 Share on other sites More sharing options...
Perad Posted November 2, 2006 Author Share Posted November 2, 2006 It currently accepts 2. Thanks a lot. Link to comment https://forums.phpfreaks.com/topic/25927-grabbing-more-than-one-variable-from-address-bar/#findComment-118403 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.