Hi guys
I was hoping you could help:'(, I have created a web page where by the number of records is about 40.
But put on paging on my page with the use of Dream weaver. The problem I have is that yes it does display 5
At a time using the limit in my sql statement but when I click on the next page it says that the value in the text field
Is undefined. The scenario is that there is a form with a text field name "txtnum" when I click the submit I have used the post method
Where the value will be stored in a variable on the php file. $num = $_Post. I have tried using a session with no success. $_Session[‘num’]=$_Post[‘textfield’];
And also some of the Post I am using is incorporated in my sql statement. I need help on how to hold the same value and for a post so that it appears on the next page when I page.

Recommended Answers

All 2 Replies

do you have

session_start();

at the top of the page?

Yes I do have an session start.

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.