Dopo
$result = mysql_query($strSQL);

metti
print_r($result);

Che cosa stampa?