I'm a complete newb to PHP - I tried researching this problem, but haven't found an answer. I'm using Formstack to create an order form for a non-profit. At the end of the process, formstack appends all of the entered data to the URL. Typically, I use a simple PHP GET to pull the information I need. In this instance, however, there is a second layer of data after the = of the primary item's name.
Each item shows up similar to this (example items is Chickens):
&chickens=charge_type+%3D+fixed_amount%0Aquantity+%3D+2%0Aunit_price+%3D+15.00%0Atotal+%3D+30&
I need to pull quantity=2, where quantity is a subordinate value of chickens. My knowledge ends at pulling the entire string following chickens=
<?php echo htmlspecialchars($_GET["chickens"]); ?>
Which results in: charge_type = fixed_amount quantity = 2 unit_price = 15.00 total = 30
Any thoughts would be greatly appreciated. Thanks!