title: php check if URL has variables in it
body: <p>I'm trying to search for a variable value in my URL using php. This is an example of my URL:<br>
  <a href="http://example.com/ford/?album=all&amp;gallery=1" rel="noreferrer">http://example.com/ford/?album=all&amp;gallery=1</a></p>
  
  <p>I want the script I'm building to check the <code>gallery</code> variable found in my URL.</p>