Quote:
Originally posted by pornanza
SELECT title, url FROM links ORDER BY date DESC;
ryan
|
And for entering the date:
PHP Code:
$time_now = mkdate();
$sql = "INSERT INTO link SET title='$title', url='$url', date='$time_now'";
if(mysql_query($sql) {
echo "New link successfully added";
} else {
echo "Could not add new link";
}