old feedback

[insert_php]
$db_hostname = ‘sql.profumomaniaforever.com’;
$db_username = ‘profumom36784’;
$db_password = ‘prof19331’;
$db_name = ‘profumom36784’;
$db = mysql_connect($db_hostname,$db_username,$db_password)or die(“non riesco a connettermi”);
mysql_set_charset(‘utf8’, $db);
mysql_select_db($db_name)or die(“non riesco a selezionare il database”);
$query= “select * from bc_orders LEFT JOIN bc_feedback ON bc_orders.id=bc_feedback.id_order LEFT JOIN bc_clients ON bc_feedback.id_client=bc_clients.id where bc_feedback.statusok=1 order by data DESC”;
$sql_or = mysql_query($query);

while ($rs_or = mysql_fetch_array($sql_or)){
$testo_mod = nl2br($rs_or[‘messaggio’]);
echo’

‘.$testo_mod.’ … ‘. $rs_or[‘nome’] .’ (‘. $rs_or[‘data_feed’] .’)

‘;
}

[/insert_php]

La data di oggi è [insert_php] echo date_i18n(‘l, j F Y’, strtotime(‘now’)); [/insert_php]