Ciao ragazzi,
io ho scritto una query cosi:
la query viene fuori correttamente, ma se io non avessi il comando ORDER alla fine, come potrei fare per ovviare all'ultimo "OR"Codice PHP:
$query = " SELECT * FROM tabella WHERE condizione =";
while (mysql_fetch_array($var));
{
$query.="'array[$var] OR'";
}
$query.="DER BY nome ASC";
Grazie mille!
Francesco