Page 1 of 1

problem in moving index to starting place

Posted: Fri Oct 07, 2005 12:54 am
by itsmani1
when i have used
$res = mysql_query($qry);
while($row = mysql_fetch_bject($res))
{
$row -> val1
}
at end when has fetched all the values i want to move result index at start
i mean i want to fetch all the vales again but with out again using "$res = mysql_query($qry);"

Posted: Fri Oct 07, 2005 12:57 am
by ryanlwh
mysql_data_seek($res,0);

Posted: Fri Oct 07, 2005 1:15 am
by itsmani1
okie thanx man.
its solved.

Mannan