How to pass a variable in PHP to another page without using $_POST? -


how 1 pass php variable stored on 1 page not in form, go page function uses it?

the reason need user can adjust form using adding more rows submit button.

this want achieve:

  • $maxrows = stores total amount of rows on page

  • user presses "add more rows button"

  • another page loaded has function adds $maxrows + 5

  • once complete, page redirects form

  • the form redisplays page 5 more rows

any ideas how can implemented?

thanks

preferably not in session if possible!

i use sessions.


Comments