I will give more infomation, here is my current code:
PHP Code:
function GetSubject()
{
$reason = $_POST['reason'];
$subject = "Noobio Contact $reason";
}
//When i run i call by using
GetSubject();
Once that code is run i want to be able to use $subject in the mail function:
mail()
Where as using echo will write it to the page.