Re: Blank page in browser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux