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 Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
depojones Posted May 23, 2010 Author Share Posted May 23, 2010 Thank you. I get that Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.