scusami, attualmente io ho questo codice:
$myquery = "SELECT id, data, titolo, LEFT(testo, $words) AS testo";
break;
seleziono i dati che voglio estrarre
$query = "$myquery FROM $db_tab ORDER BY rand() LIMIT 1 ;
e qua avvio la queri in modalità random.
come faccio ad estrarre i deti in un array?
per favore puoi postarmi un esempio di codice?