What I don't understand is how did $result_row become $result_row[0] and
$result_row[1]?
mysql_fetch_row() returns an array structure
Also what does it mean to select max(thread) as thread, max(mesid) as
mesgid? I have never used this as command before.
max(x) returns the highest
Hi,
I am also a newbie in PHP, but your question is more a MySQL question I
believe... :
$sql = select max(thread) as thread, max(mesgid) as mesgid from
discussionboard;
This MySQL request gives you two informations : the maximum of the values of
the two fields (thread and mesgid) of the table
2 matches
Mail list logo