Scroll to top

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


Notice: Undefined variable: string in /home/u665484253/domains/wpcodekit.com/public_html/wp-content/themes/twentytwenty-child/functions.php on line 61

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

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

Get more information

Read More Posts

Leave a Reply

Your email address will not be published.