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.?

Recommended Answers

All 2 Replies

curent should be current

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.