Hi after searching endlessly .....
I built a Table Viewer where you can see the result set of a table. You can hit buttons where you can go to the beginning, to the end or in steps according to the selectbox choice that you've made. So I had to store the current pointer let's say i'm looking at row 50 to 70 so I had to store 50 to keep this going.
The first thing I've tried is to have a hidden field like:
echo"<input type =\"hidden\" name =\"pointer\" value = \"$pointer\">";
In the functions I made $pointer global and wanted to update the hidden field, but it didn't work. So I tried to ask if HTTPPOSTVARS were set and if not I put the value for pointer to zero, and if it was set I took the HTTPPOSTVARS and echoed the hidden field with the value transmitted. But this didn't work as planned as well.
Now I've a solution that works 99% but the problem is that I've realized that I don't quite understand how the hidden field thing works.
so please if anyone has done something like this and could explain me in a few words how to do it and how posting of hidden fields that are not static works , I would be very very thankful and happy.
Thank you very much in advance