How to get value from url after question mark in php?

How to PHP Request uri get string parts after question mark?

$url = explode(“?”, $_SERVER[REQUEST_URI]);
echo $url[1];

The post How to get value from url after question mark in php? appeared first on wpcodekit.

Leave a Reply

Your email address will not be published. Required fields are marked *