Menu
Hi,
Following allows to use $_GET, $
Produces separate variable for each element of those.
So, I think it has many uses.
[code=php]while (list($key,$val)=each($_REQUEST)) { $$key = addslashes(strip_tags($val)); }
Say passed [url]http://www.mysite.com/index.php?ids=1&ide=30&page=1
if index.php have above code snippet.
URL parameters ids, ide, page becomes single variables holding respective values.
Common for Form Submission, normal $_GET url params , obviously also with AJAX.
Thought it would be useful to somebody.
Thanks and Best Regards