Reply to Re: PHP Blank Page.

Your name:

Reply:


Posted by techjohnny@gmail.com on 06/19/07 19:46

On Jun 19, 11:39 am, Rik <luiheidsgoe...@hotmail.com> wrote:
> On Tue, 19 Jun 2007 20:11:44 +0200, techjoh...@gmail.com
>
>
>
> <techjoh...@gmail.com> wrote:
> > On Jun 19, 10:59 am, Rik <luiheidsgoe...@hotmail.com> wrote:
> >> On Tue, 19 Jun 2007 19:18:02 +0200, techjoh...@gmail.com
>
> >> <techjoh...@gmail.com> wrote:
> >> > Ok,
>
> >> > I posted earlier about this, a blank php page. I've enabled logging
> >> > ALL in the php.ini, but nothing. If I change the name of the db in
> >> > the include file, I get an error message, so I guess this means it's
> >> > connecting to the mysql db. I've included the first couple lines of
> >> > code for this page:
>
> >> First rule of hunting errors: do not surpress any errors by @ if
> >> something
> >> isn't working.
>
> >> Second: I do not see any output, so as far as I'm concerned if you've
> >> got
> >> no errors you would still see nothing.
>
> >> - $qry['cat'] doesn't seem to be set anywhere, how come?
> >> - check your queries for errors: echo mysql_error(), and the query
> >> itself.
>
> > The entire page:
>
> Well, that's nice, I do not spot any clear syntax errors.(That is, if I
> assume correctly that '// Check if scoreboard contains entries in this
> category and, if so,list results' is on 1 single line) However, with no
> query result the only output would be '</ol><br />', which obviously
> doesn't show up in a browser.
>
> Wether there's a parse error in your other includes I couldn't say.
>
> So, check your queries, echo mysql_error(), check mysql_num_rows() and
> echo it to check wether the result has data or is empty, etc.
>
> --
> Rik Wasmus

Thanks.
echo mysql_error();


Warning: session_start(): Cannot send session cache limiter - headers
already sent (output started at /www13/htdocs/quiz/inc/header.inc.php:
3) in /www13/htdocs/quiz/index.php on line 4

[Back to original 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

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