[PHP] how did this become an array?

2002-04-02 Thread The PHP newbie
Hi, I am trying to figure out a part of the PHP code which belongs to one of the files that is responsible for operating a discussion group. I was examining some of a part of the code which produces the total number of messages and displays the subject of the message. I encountered a part

RE: [PHP] how did this become an array?

2002-04-02 Thread Rick Emery
in the mysql command line to see the various results. -Original Message- From: The PHP newbie [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 8:10 AM To: [EMAIL PROTECTED] Subject: [PHP] how did this become an array? Hi, I am trying to figure out a part of the PHP code which belongs

Re: [PHP] how did this become an array?

2002-04-02 Thread RIVES Sergio
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