Putting a string into a variable.

From: Date: Fri, 28 Mar 2003 19:13:24 +0000
Subject: Putting a string into a variable.
Groups: php.db 
Request: Send a blank email to php-db+get-26674@lists.php.net to get a copy of this message
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

« previous php.db (#26674) next »