checking if one or more $_GET are set
    $category = mysql_real_escape_string( $_GET['Category']);

    $Poster = mysql_real_escape_string($_GET['Poster']);

    $Month = mysql_real_escape_string($_GET['Month']);

    $Year = mysql_real_escape_string($_GET['Year']);

im wanting to run a mysql string that will get info from a DB depending on what $_GET is used either on its own or multipul used, and if none is set then i want it to run a different mysql string, and im having a little trouble getting it to work :( 

any help would be appreciated 

thanks 
ben



checking if one or more $_GET are set
===

    $category = mysql_real_escape_string( $_GET['Category']);

    $Poster = mysql_real_escape_string($_GET['Poster']);

    $Month = mysql_real_escape_string($_GET['Month']);

    $Year = mysql_real_escape_string($_GET['Year']);

im wanting to run a mysql string that will get info from a DB depending on what $_GET is used either on its own or multipul used, and if none is set then i want it to run a different mysql string, and im having a little trouble getting it to work :( 

any help would be appreciated 

thanks 
ben


