well I am very new to php/my sql and what I want to do is quite simple
I can make a script to display the first record in my database,
(very simple)
<?php
$db = mysql_connect("localhost", "username", "password");
mysql_select_db("database",$db);
$result = mysql_query("SELECT * FROM table",$db);
printf("Field 1: %s<br>\n", mysql_result($result,0,"title"));
printf("Field 2: %s<br>\n", mysql_result($result,0,"menu"));
?>
As I say I am new to this so how could I modify this script to display the LAST entry in the database?
Thanks