|
Posted by zzapper on 10/20/27 11:16
On Tue, 17 May 2005 11:41:56 +0300, wrote:
>Dear All,
>
>I'm new to PHP programming and I just try to display small information from
>database on web page but its shows blank page. So my code is mention below
>and let me know what's wrong in it but when I execute same program on
>command prompt then its shows all result correctly with HTML Tags
>
I was getting freaked by this , as unknowingly I'd error reporting switched off (in php.ini).
But you can set the following in your code
error_reporting(E_ALL); // switch on full error reporting
... code
... code
// Turn off all error reporting
error_reporting(0);
http://uk2.php.net/manual/en/function.error-reporting.php
--
zzapper
vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & success tips
Navigation:
[Reply to this message]
|