Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbir Question: Passing variables

Status
Not open for further replies.

Ratbags21

Programmer
Sep 21, 2005
22
GB
Sorry to ask such a basic question, but how do I pass a value (not input by user) from one page to another?
For example, I am creating a CMS set of pages. The first page lists all the tables I have in the datasource eg

Tutorials
Menus
Knowledgebase
etc

When I click on one of the choices, I want to link to a form that then lists the current contents of that table - so the conditional syntax on the action page might be

if <passed variable>="tutorials" then
CFQuery....
select * from TutorialTable
elseif <passed variable>="menus" then
CFQuery,#...
select * from Menustable

etc etc

Any ideas?

Many Thanks
 
What is CMS? Is it Content Mamagement System?

Anyway, just a little information on what you've done so far would go a long ways to getting you some help. i.e. are these "choice" links, buttons, form elements???

Lyndon

---People Remember about 10% of what you say ---They never forget how you made them feel. Covey
 
I think this was answered on the adobe forums.

Double posting FTL.

Vegans are friends, not food...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top