esthera
04-22-2007, 10:21 AM
i have a php thank you page
now on this page I want to be able to send an email that will pull up
emailthankyou.php?orderid=xxys and then email that emailthankyou page
how can i do this without having to build the whole thank you page as a string to email?
i tried doing the following
function getemail($orderid)
{
ob_start();
include("receipt_page-email.php?orderId=$orderid");
$output = ob_get_contents();
ob_end_clean();
//}
return $output;
}
and then sending the return of this function but it does not seem to work
now on this page I want to be able to send an email that will pull up
emailthankyou.php?orderid=xxys and then email that emailthankyou page
how can i do this without having to build the whole thank you page as a string to email?
i tried doing the following
function getemail($orderid)
{
ob_start();
include("receipt_page-email.php?orderId=$orderid");
$output = ob_get_contents();
ob_end_clean();
//}
return $output;
}
and then sending the return of this function but it does not seem to work