Putting a string into a variable.

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

 



I am having problems putting an html string into a variable to create an array of 
strings.  

something like this:


$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 
string into an array or even store one as a variable.

thanks, 
/Tim

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