Hi

I am trying to write an email function and ive hit a snag

I need to assign 2 variables in the function with the content of an html email and text email.

Is there anyway of declairing a variiable within a function for use outside of it in the code below?

    Ignoring the problematic [man]global[/man] option, you could:

    • Return an associative array with an element for each value.

    • Pass both variables by reference to the function.

    • Pass one of the variables by reference and return the other variable.

      Write a Reply...