I think you didnt get what i'm trying to do here..
See, this data is not coming from any form etc.
The data is calculated/captured on runtime using preg_match() functions... Its CURL related things i'm doing in mod.
Following code is contained in $urls (Array).
Code:
/sent?r345dfd32s&link=general&ac=3245534893783&status=waiting
Everytime, "ac" and "r345dfd32s" things change for each array element.
However, i'm already having $urls (As a string for each index) the only thing is i wanna have "ac" numbers in some variable (For comparison purpose.. i'm not gunna echo 'em).
And yeah, i also tried with urldecode() etc.
The problem is, following code works perfect if i remove foreach() loop (i.e. it will b processing only 1 $urls)
Code:
parse_str($urls);
$temp=$ac;
When foreach() loop is added, above code ain't working...
So i guess (it may be stupid but still) parse_str() having hard time because of foreach().
The thing is, i googled a lot (and really a lot)... but i didnt find parse_str() written under foreach() loops anywhere.. but i also didnt find never to use parse_str() under foreach() written anywhere..
So i'm really really confused and stumped!!