Posted by Arjen on 08/15/07 07:33
shror wrote:
> Hi every body,
> Please I need your help solving my php mail() function problem that
> the code is appearing in the view source and I dont know whats the
> problem where I am using another page tto test the php and its
> executed very nice
>
> The page have php code viewed : http://beachtoursegypt.com/booking-form.htm
> where after submitting the form the data are sent to the confirmation
> age where the php script lies there and its not executed
>
> the page with the other php code example running is: http://beachtoursegypt.com/123.php
We cant really help without seeing the code. If php is executing there
might be trouble with the mail setup or your script may contain errors.
mail() returns true or false on completion so try
if(mail('','',''))
{
// confirm
}
else
{
// problem
}
--
Arjen
www.arjenkarel.nl
Navigation:
[Reply to this message]
|