You are here: Re: PHP script just stops for no reason « PHP Programming Language « IT news, forums, messages
Re: PHP script just stops for no reason

Posted by Pavel Lepin on 08/30/07 07:52

Luis Carlos <lcsolano@gmail.com> wrote in
<1188457755.344967.250750@w3g2000hsg.googlegroups.com>:
> <?php
>
> echo "<H1>START...</H1>";
>
> require_once 'variables.php'; /* All the variables*/
> require_once '.htinfo.php'; /* db info */
>
> $sql = "SELECT * FROM $table_name ORDER BY 'uid'";
> $result = @mysql_query($sql,$connection) or
> die(mysql_error());
>
> while ($row = mysql_fetch_assoc($result) OR
> die(mysql_error())) {

Gee. Guess what happens after you've processed all the rows
in the resultset?

> I know the array $estadisticas is being updated ok, but,
> nothing I place after the while is closed is executed.

You asked for it.

--
This chickenus crossed the roadus while yodelingus.

 

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

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