How do i format the error log message in log file using PHP
<p>Suppose I want to display the sql error in log file which has been created by me. For example ,error log file called "myerror.log "</p>

<p>Now i am using the following code to print my message in log file , " error_log(mysql_error(), 3, "tmp/myerror.log"); ".
So Every time when message is printed in myerror.log file with same line, Here i want to print the message one after another.</p>

<p>Kindly help me
Thanks 
Dinesh Kumar Manoharan</p>
