To get query string of URL in PHP and JavaScript

Video is ready, Click Here to View ×


For example a URL with query strings:
test1.php?name=jiansen&name1=andy
To get query string of a url in PHP, we use $_GET
For javascript, we use document.location.search.substring
More about this video:

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.