SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    always learning . . .
    Join Date
    Nov 2003
    Location
    UK
    Posts
    821
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Simple passing of varaible to another html page

    How can i pass a variable from 1 page to another?

    I want to send a variable which is an address of an image src
    then in the sencond htm page it uses this to load to picture!

    then the second html page can just be created once and be used for any picture i want to load into!

    Thanks
    Its actually a full array id like to be displayed on the next page if possible
    not just one variable
    Last edited by abcdef; Nov 13, 2003 at 15:43.

  2. #2
    SitePoint Member 13tenMedia's Avatar
    Join Date
    Aug 2003
    Location
    Portland
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Make the transition from page 1 to page 2 a form submit, send as get and it'll show up in your url string.

    So maybe each picture would be a form with a hidden field that has the name of the image.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •