Skip to main content
July 4, 2009
Question

Using variables across multiple pages...

  • July 4, 2009
  • 1 reply
  • 425 views

Hello all,

I may have forgotten something very basic in my time away from php and MySQL, so please keep that in mind when reading this question.

I have a page that has 5 links on it. Selecting one of the links would open a new page, which makes an SQL query to summon data specific to the link that was chosen.

Instead of creating 5 succeeding pages, one for each link, I'd like to use one page. Based on the variable generated/created/assigned when a given link on the previous page is selected (for simplicity, clicking the first link would generate a 1...clicking the fifth link would generate a 5) the query will look for specific data in the database, likely this will be accomplished by making 5 seperate includes files with specific commands or array structures to acheive this. Simplicity.

Simplicity except I'm not yet certain as to how this is accomplished.

Here's where someone's going to throw the book at my head...can I generate a variable that can be stored for use on another page?

I never ask easy questions...sorry about that.

Thanks to any and all in advance for your help!

Sincerely,

wordman

This topic has been closed for replies.

1 reply

DwFAQ
Participating Frequently
July 4, 2009

http://forums.adobe.com/thread/426785