@staffmbm
I'm getting stuck with this code. I'm not getting data in second page after form submit.
Rather than saying I'm not getting data in second page after form submit.
Can you be more specfic?
These are simple questions you can post regarding how your page is not getting data.
I mean when you run the code what error appears?
Which line does the error occur?
Is your code connected to the database?
LastMitch
Industrious Poster
4,212 posts since Mar 2012
Reputation Points: 134
Solved Threads: 336
Skill Endorsements: 45
Pagination has been done to death on this foru, please search this forum. Also, you say there's a problem - which form are you talking about - the one in the code or another one?
If you could rephrase the question. Also, there's a lot of html / php mixing here. You may find that separating them (keeping php-derived output in variables and outputting them in the relevant places) may help. CHunking up your long procedural code into functions may also help you organize the code, so error trapping is easier.
diafol
Keep Smiling
10,672 posts since Oct 2006
Reputation Points: 1,632
Solved Threads: 1,514
Skill Endorsements: 57
In this optional form on the code I'm trying to save value="winter" in session for keep form variable, but seems $users lost then I go to next page after form submit. I'm getting warining on line 13:mysql_num_rows(): supplied argument is not a valid MySQL result resource. Maybe I need add something to URL of second page ? Or it's something wrong with session
$rows = mysql_num_rows($data);
It means there' something wrong with $data another words you are not connected to the database.
LastMitch
Industrious Poster
4,212 posts since Mar 2012
Reputation Points: 134
Solved Threads: 336
Skill Endorsements: 45