Thread: PHP Help
View Single Post
Old 18th May 2003, 11:38 AM   #1

Username: cybril
Rank: WF101 Newbie
Join Date: Mar 2003
Location: Perth, Australia
Posts: 18
Points: 0.00
Default PHP Help

Ok Ben, I need the pro's help :lol:

I am trying to display MySQL database record by record/screen by screen (eg, each record takes up one page, when user finished looking at that they press Next Record and page/form gets called again with next record's details).

I am using a form which is calling itself each time:

<form method="post" action="<?php echo $PHP_SELF?>">

and the Next Record button is a normal submit button:

<input type="submit" name="next" value="Next Record">

The problem is that the ID value is not being remembered from the previous form display so I can't get the next record to display - do I need to add the current ID value to the querystring somehow? If so, how do I do that??

I hope that all makes sense!
cybril is offline   Reply With Quote