Re: while loop
| From: | Jacky@lilst | Date: | Tue, 10 Apr 2001 18:11:06 +0000 |
| Subject: | Re: while loop | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47958@lists.php.net to get a copy of this message | ||
Not in the actual code, sorry, I did not copy the opnneing bit, but there is
one in the code.
So the same question, I got error said, maximum execution time exceed, am I
doing something time consuming here?
Jack
jacky@activelifestyle.com
"There is nothing more rewarding than reaching the goal you set for
yourself"
----- Original Message -----
From: Brian Clark <brianj@fusionwerks.com>
To: PHP is not a drug. <php-general@lists.php.net>
Sent: Tuesday, April 10, 2001 1:05 AM
Subject: Re: [PHP] while loop
>
> Hi Jacky,
>
> @ 1:58:40 PM on 4/10/2001, Jacky@lilst wrote:
>
> > Here I got this script:
>
> > $queryoffers = "SELECT * FROM MiniOffers WHERE hotel_id = '$hotelID'
> > ORDER BY start_date ASC";
> > $resultofrs = mysql_query($queryoffers, $connection) or
die(mysql_error());
>
> > while($row = mysql_fetch_array($resultofrs))
>
> Are you missing the opening curly brace in the actual code?
>
> > $IsAva = $row[6];
> > }
> ...
>
>
> -Brian
> --
> PGP is spoken here: 0xE4D0C7C8
> Please do not carbon copy me on list replies.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>