depojones Posted May 23, 2010 Share Posted May 23, 2010 Hello, i was browsing this website and I saw a querystring that looks like the following; search.html?words=search&restrict[0]=C&restrict[1]=R&restrict[2]=B&restrict[3]=V&restrict[4]=D&forums=F&go_search=1&advanced=1 Can one describe how they come about the brackets; example: restrict[1]=R&restrict[2] Thanks Link to comment https://forums.phpfreaks.com/topic/202677-unusual-querystring/ Share on other sites More sharing options...
marcus Posted May 23, 2010 Share Posted May 23, 2010 <?php $r = $_GET['restrict']; print_r($r); ?> It's simply acting as an array. Link to comment https://forums.phpfreaks.com/topic/202677-unusual-querystring/#findComment-1062337 Share on other sites More sharing options...
depojones Posted May 23, 2010 Author Share Posted May 23, 2010 Thank you. I get that Link to comment https://forums.phpfreaks.com/topic/202677-unusual-querystring/#findComment-1062340 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.