Method: url::has_query

Checks if the URL has a query string attached

Info

Syntax

url::has_query($url)

Parameters

Return (boolean)

Example


if(url::has_query('http://www.youtube.com/watch?v=9q_aXttJduk')) echo 'Yes, there is a query attached';
// output: 'Yes, there is a query attached'