> Using PHP and a MySQL database, I want to grab the highest
> number in a particular column.
As is usual for questions like this, the answer is most likely that you
should do it in your sql query. In this case, something like this would
probably do it:
SELECT MAX(some_column) FROM some_tab
select MAX(colname)
from table;
Cheers
Simon
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: 15 October 2002 09:29
To: [EMAIL PROTECTED]
Subject: [PHP] Getting the highest number in a column
Using PHP and a MySQL database, I want to grab the highest number i
2 matches
Mail list logo