note 21737 added to language.variables.variable

From: Date: Fri, 24 May 2002 20:21:34 +0000
Subject: note 21737 added to language.variables.variable
Groups: php.notes 
Request: Send a blank email to php-notes+get-31008@lists.php.net to get a copy of this message
//to reference cells and place them in a table format //for exmple cells named ref1_1, ref1_2, ref1_3, ref1_4, ref2_1 ... through ref4_4 print "<table border=\"0\"><tr><td valign=\"top\" >\n "; for($i=1;$i<5;$i++) { for($h=1;$h<5;$h++) { $cellname = "ref$i"."_"."$h"; print ($a_row->{$cellname}); print "</td>"; if ($h==4) print "</tr><tr> \n"; print "<td valign=\"top\" > \n"; } } print "</td></tr></table>\n"; -- http://www.php.net/manual/en/language.variables.variable.php http://master.php.net/manage/user-notes.php?action=edit+21737 http://master.php.net/manage/user-notes.php?action=delete+21737 http://master.php.net/manage/user-notes.php?action=reject+21737

« previous php.notes (#31008) next »