<? $sql=mysql_query("select * from user"); if ($sql){ $seek=mysql_data_seek($sql,4); if ($seek){ $info=mysql_fetch_array($sql); } echo $info[ip]; }