Check PHP error within same file
<p>How can I check whether an error has occurred in my PHP file while executing the same file. I need this because I can not view that file in the browser. I would like to write any error occurred in a textfile or a log file. Is it possible?</p>
