Hello everyone,
I've got a database named dictionary with four fields -
id
word
hash
times
The insert code looks like this
I'd like to select the entry that has the highest times field, and then echo the word and hash fields.PHP Code:$time = time();
$sql = mysql_query ("INSERT INTO dictionary (id,word,hash,times) VALUES ('0','".$word."','".$hash."','".$time."')");
Any help?



Reply With Quote


Bookmarks