Re: php displays nothing
| From: | Alf Stockton | Date: | Tue, 30 May 2006 09:55:01 +0000 |
| Subject: | Re: php displays nothing | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-26934@lists.php.net to get a copy of this message | ||
Luis Moreira wrote:
>Personally, I do it the hard way :
>Beginning at the very first line of code, a message saying something like
>"just got in", and then lots, and lots and lots and lots of echo messages
>throughout the code, including messages on the procedures and functions,
>saying that you got in, and that you are leaving. May seem strange, but
>these let you know if you have a loop inside a function, for instance.
>
>As soon as you stop seeing the messages, you know the error is between the
>missing message and the last one you got.
>
>Painful, but it works...
>
>
>
Correct me if I am wrong but if php fails, because of the error, to
produce the html page nothing is going to display whether you do echo or
prints or not.
--
Regards,
Alf Stockton www.stockton.co.za
You will be surrounded by luxury.
My email disclaimer is available at www.stockton.co.za/disclaimer.html