Re: Warning messages on web page.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2010-06-23 at 16:22 +0100, Ashley Sheridan wrote:
> On Wed, 2010-06-23 at 16:14 +0100, Mike Davies wrote: 

> If you haven't in your code, then make sure you define $thumbsarray as
> an array before you attempt to use it in the loop. This will have no
> effect where rows are returned, but it will ensure an empty array
> exists if your code expects it and there is no data in the database to
> populate it.
> 
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
> 
> 
> 

Thanks Ash and to everyone else. I added :
$thumbsarray=array()

above the first instance and the warning no longer appears. Hopefully
nothing else will be affected.

Many thanks for all your time.

regards,
Mike
-- 
Mike Davies
Integra Web Design, Rhynie, By Huntly, AB54 4LS
01464 861535            www.integrawebdesign.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux