I have a script where by default, variable A is empty. Another part of the scripts checks whether the variable is empty or not, and if it's empty, it doesn't run.
Now, I want to modify variable A through the script (like, have a form that allows you to enter a value and store it to variable A) and I want that part that needs variable A not to be equal to "" to check again and run with variable A as containing something...
I tried to enclose it into a function and then call it when I need it, but is there a better way?
How do I do that?
Thanks in advance.
Last edited by Lord Northern; 05-01-2011 at 10:27 AM.