echo prev($result_row).'prev-';
echo curent($result_row).'cure-';
echo next($result_row);

hi fellas as what you see above i print them all
actually they were inside a foreach loop
wahat i expect i they will print all but the firstline is the only one which appear
what i observed is only one line out of this three lines is allowable to be print so i should comment the other two

can someone explain me what happen to this.?

curent should be current

wew! sorry for the stupid mistake..
i didnt notice it..
any way thank you