Codice PHP:
$qz0 "SELECT * FROM tabella where tipologia='".addslashes$categoria )."'"