PHP-MySQL connection problem
| From: | Manisha | Date: | Mon, 29 Jul 2002 06:40:40 +0000 |
| Subject: | PHP-MySQL connection problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-110099@lists.php.net to get a copy of this message | ||
Hi,
My server is running on shared server which has support for PHP 4.1.2. I installed mySQL for our shared server. I also installed phpMyAdmin. Both are running properly. But I am facing following problems
1) If there is any error in the script - It is not getting displayed - screen is becoming blank, so it is becoming very difficult for me to make out any mistake.
2) I am trying to send email - but not getting any email. This is the script
<?
$mailBody = "This is one line \ n This is a second line \n\n this is a third line";
$boolMail = mail ("manisha@aurica.com", "Test mail", $mailBody);
print ("Email has been send ");
?>
I am getting print statement but not the mail. Any extra settings are required ?
Thanks in advance
Manisha