Remember, unless using sessions, HTTP is stateless. This includes PHP. When linking back to your "PAGE 1", maybe pass checked articles of "PAGE 2" as a query string. ???
David K. wrote:
Hello there, this is my first try on PHP. I think it's a great way for building dynamic pages. But I'm having trouble with the scope of variables.
PROBLEM: PAGE 1 lists Articles -> HIT ENTER -> PAGE 2 displays Ordered Articles -> Link TO Page 1; when hitting it, need same list of articles but with corresponding amount of orders.
Perhaps this clears some. Page 2 is a summary of all the checked articles of page 1, I put them into an instance of a class. When going back to page 1, I want my checked articles displayed as checked. But I'm not able to access the instance of my class on page 1.
A designer with one week experience in PHP.