5 Replies Latest reply on May 20, 2007 8:22 AM by kglad

    variable problems local and global score

    vladimirj
      Hi i'm having problem of writing a value to a global variable in a function and using this variable affterwards. My problems is the following i have a firstProduct variable that is initialized as global at the begining of my code and the i have an XML on load function where i should take the first child and write it to his variable and use it afterwards for passing it as a variable to PHP but this is irrelevant, however when im trying to trace im getting undefined any suggestions ?? here is the code