Re: Putting a string into a variable.

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

 



Hi Tim

Comments inline...

> 
> $stringarray[] = array();
> $i = 0;
> 
> while ( $i < 6 ){
> $stringarray[$i] = "<table cellspacing=\"0\"><tr><td>".$this->differentarray[0]
> [0]."</td></tr></table>";
> }
> 
> 
> When I echo $stringarray[1] it comes up empty...  Is there a special trick to get a 

You're not incrementing $i.  You need $i++ in your while loop.

> 
> thanks, 
> /Tim
> 


-- 
Ronan
e: ronan@thelittledot.com
t: 01903 739 997
w: www.thelittledot.com

The Little Dot is a partnership of
Ronan Chilvers and Giles Webberley

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux