Hello guys, sorry to disturb u again. in my old topic i asked about fetching query strings. so nico helped me by telling $_SERVER['QUERY_STRING'] command. This command is useful but the problem is, it fetches every query from top.. I want to fetch only query of my choice like: if i have page.php?show=00&from=00 I only want to fetch show=00 or from=00 if it is possible? then how i can do? as usual quick help will be appreciated. Thank you!
I assume you know of the $_GET and $_POST methods.... page.php?show=00&from=00 Suppose you get the server_query in $url $arr1 = explode("&",$url); $show = explode("=",$arr1[0]); $show = $show[1]; $from = explode("=",$arr1[1]); $from = $from[1];
lol.. i just realised after posting this topic.. that i can do through this way. anyways thank you all for your help. thank you udkl_12_98 for your formulas but i'm a newbie in php so can't understand this.