sia $this->idf una variabile di classe in php.
all'interno di un metodo scrivo

codice:
$sSql = "SELECT t.id_f FROM tabella t WHERE t.id_f = ".$this->idf;
$query = mysql_query($sSql) or die(mysql_error());
ma ho errore...
come scrivere la query introducendo al suo interno variabili di classe?
ho provato:
codice:
$sSql = "SELECT t.id_f FROM tabella t WHERE t.id_f = ".{$this->idf};
e
codice:
$sSql = "SELECT t.id_f FROM tabella t WHERE t.id_f = ".'"${this->idf}"';
ma nessuno va...
come cavolo si scrivono??