$sel="Select * from subindice";$res= mysql_query($sel,$link_dom);mysql_data_seek( $res, mysql_num_rows() -1 );$data = mysql_fetch_array( $res );