It does not. However, I could easily add this in if you have a suggestion
that would work. Ideally, I thought their would be a way to do this
operation in one select statement. Any thoughts?


Zach


-----Original Message-----
From: Jim Lucas [php] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 23, 2002 1:10 PM
To: Zach Curtis; [EMAIL PROTECTED]
Subject: Re: [PHP-DB] # of Records in Table


does the table have an autoincrement column?

Jim Lucas
----- Original Message -----
From: "Zach Curtis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 23, 2002 10:27 AM
Subject: [PHP-DB] # of Records in Table


> What syntax can I use to determine how many records are in a MySQL table
and
> then retrieve the value of the field "password" for the last record? I
tried
> using some combinations of COUNT(*) and LIMIT with no success.
>
> Thanks.
>
>
> Zach Curtis
> POPULUS
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to