Hi Jacky,

@ 2:11:06 PM on 4/10/2001, Jacky@lilst wrote:

> 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?

Unless I'm blind this morning, I don't believe so.

Try this and see what you get:

<?php

$query = "SELECT * FROM MiniOffers";
$result = @mysql_query($query, $connection) or die(mysql_error());

while($row = @mysql_fetch_array($result))
{
   $IsAva = $row[6];
}

?>

...
>> @ 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to