Welcome Guest, Not a member yet? Register   Sign In
Message: Undefined variable: data when trying to send HTML mail
#2

[eluser]Derek Allard[/eluser]
Ah, probably stealing my bad code are you Wink (joking)

Above the code I posted I had

Code:
$data['title'] = "some text";
$data['somevar'] = "just some var";

If you don't think you'll need to pass it any info, you could always just do
Code:
$data = new array();

and that would satisfy the function.


Messages In This Thread
Message: Undefined variable: data when trying to send HTML mail - by El Forum - 10-10-2007, 09:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB