Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- kevin bailey
July 25, 2007, 10:02 am
rate this thread
How would I use a PEAR class inside a new function?
I would like to include the mail_queue class inside a function to send out
emails when the function has been called.
However, when I try to do this I get the
Fatal error: Call to a member function on a non-object
Currently I'm going to continue to call the mail_queue from the normal code
- but would like to know how to get it working from inside a function for
Re: PEAR used inside a function
It should be no different than using the object anyplace else. But
without the failing code any answer is a pure guess.
Remove the "x" from my email address
JDS Computer Training Corp.
- » Passing varaible through $_session but not working..
- — Previous thread in » PHP Scripting Forum