[PHP] include not functioning like I am expecting
- by bobber205
The below gives my a fatal error saying that "mymail" was not found.
Any ideas why? Looks right to me. :P
mailreq.php
include("mail.php");
$r = mymail("test","test");
mail.php
function mymail($body, $reqtype)
{
//blah blah
}