Simple PHP GET question
Posted
by Jake
on Stack Overflow
See other posts from Stack Overflow
or by Jake
Published on 2010-03-17T22:16:19Z
Indexed on
2010/03/17
22:21 UTC
Read the original article
Hit count: 157
I know how to detect if a particular GET method is in the url:
$username = $_GET['username'];
if ($username) {
// whatever
}
But how can I detect something like this:
http://www.mysite.com?username=me&action=editpost
How can I detect the "&action" above?
© Stack Overflow or respective owner