aisikowi wrote:(tried $rec.MoveLast(); but didnt work)
I'm not surprised. Obviously, all that would do is concatenate the string $rec with whatever is returned by the function MoveLast().
Actually read the manual (specifically, the function [man]mysql_data_seek[/man]). I'd have to observe though that I've never needed to use such a function as I've usually found it better to select only the data I actually want.