YTABLE order by ifield desc limit 1
>
>
>
> Elna Moorhouse wrote:
>
> >TRY:
> >SELECT id,Max(ifield) from MYTABLE.
> >
> >What I don't understand is why you specify id=$id in the where clause. If
> >you already specify the id as let say 1 then
To see the error in action go to http://www.moorhouse.co.za/test.php
Please help!
Thanks
"Elna Moorhouse" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
What I want to do is very simple, I have a txt file on a ftp server, that
TRY:
SELECT id,Max(ifield) from MYTABLE.
What I don't understand is why you specify id=$id in the where clause. If
you already specify the id as let say 1 then the max for that id will be 100
from your example below.
"Richard Fox" <[EMAIL PROTECTED]> wrote in message
003901c2b034$0c563740$0700a
What I want to do is very simple, I have a txt file on a ftp server,
that contains the number of visits to my site. I manage to open the file
with "fopen($filename,"r+"), but the information is not written to the
file. I know that on a ftp server one can only open a file with fopen for
4 matches
Mail list logo