connect_errno) { die('Could not connect: ' . mysql_error()); } // Performing SQL query $result = $con->query('SELECT idpost,date_creation, title FROM post where title like "' . $where_clause. '" order by idpost desc limit 1000'); if (!$result) { die('Error: ' . $con->error); } ?> List of Posts
Title:

List of Posts

fetch_array( MYSQL_ASSOC)) { echo "\t\n"; printf("\t\t\n", $row['idpost']); printf("\t\t\n", $row['date_creation']); printf("\t\t\n", $row['title']); echo "\t\n"; } ?>
DateTitle
%s %s %s
close(); ?>