question regarding <if> in templates
I'm writing a few custom pages for my site, one of which is an email form. I have a varaible in the PHP called $sendfail which is set to 0 or 1 depending if the email sent correctly. How can i check this value using <if> in the template so i can display the relevant message? I presumed it would have been <if $sendfail == "0"> but this doesnt seem to work.
Any help would be great, thanks
|