SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast ErikN's Avatar
    Join Date
    Jul 2001
    Posts
    84
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    getting variables to retain their value from function to function...

    In one function, I have made a form, and in the another function, the information from that form is used, but since they are separate functions, the information doesn't seem to go from the form function, to the next function...does anyone know how I could retain the information, so that I can use variables from one function, in all the rest of the functions?

  2. #2
    SitePoint Member
    Join Date
    Mar 2001
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can set the var as a global.
    IE:
    global $var;

    Charlie...


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
  •