How do I pass variables from one web page to another?

C

cender

My main page has several thumbnails linked to larger pictures (JPG files).
Each large picture opens in a new browser window with a frame and color
scheme which is the same for all pictures. Right now each thumbnail links to
a different html file containing the table and color code as well as the
picture URL. Instead of repeating the html code for each picture, I would
like to pass the JPG file name to the basic code for the pic window and then
have it retrieve the pic file from its location.
 
J

Jens Peter Karlsen[FP MVP]

You can do that by passing a parameter with the URL. Like this:
<a href="showpicture.asp?pid=10">
You can then use ASP or PHP to read the pid variable and show the
correct picture.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top