You are here: Re: Blank page in browser « PHP « IT news, forums, messages
Re: Blank page in browser

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация