Its pretty self explanitory, except it obviously wont work, and thats why im here
So basically if the query string has dothis=1&n=123 then I want the rest of the script to execute. So what it would do is get the rest of the query string and select only the numbers in it, as there is more to the string. Then I want the numbers to base whats posted, and if theres no numbers, or they dont exist just continue loading the page.
If @_$GET['dothis=1']; then execute the rest, else do nothing. -- Get the query string @_$GET['QUERY STRING']; (ie. dothis=1&n=23 ) Strip the numbers from it $str_replace(Get only the digits in the string) = $n; $n = $stripped; if $stripped = 22; echo 'blah for 22'; if $stripped = 23 echo 'blah for 23'; else 'Do nothing';