www.webdeveloper.com
Results 1 to 2 of 2

Thread: Access a Dynamic Variable from outside a Function

  1. #1
    Join Date
    Dec 2007
    Posts
    16

    Access a Dynamic Variable from outside a Function

    I have a function that generates thumbnails through an array and displays them on my page. I have a variable where each name of the images are stored in the Array.

    I want to be able to access this function outside of an array. I want to be able to make a hyperlink on the image that opens up a php file that will generate content based on this variable.

    Please, I need to access this variable in a differant php file. How do I get access to this variable?

    I can post the code I have, but I don't think its particularily relevant.

    So, if I could get some help, that'd be great, or at least point me in the right direction. Thanks.

  2. #2
    Join Date
    May 2007
    Posts
    205
    I think I may have answered your question in this thread.

    http://webdeveloper.com/forum/showthread.php?t=170023

    Good luck.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles