note 36674 modified in control-structures.for by vrana

From: Date: Thu, 05 Aug 2004 18:11:33 +0000
Subject: note 36674 modified in control-structures.for by vrana
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-74058@lists.php.net to get a copy of this message
An update to kristofer at caveo dot se's table building loop: <?php $output .= '<table width="100%" border="1">\n'; for ($row = 0; $row < 3; $output .= '</tr>\n', $row++) { $output .= '<tr>\n'; for ($col = 0; $col < 3; $output .= '\t<td>Empty Cell</td>\n', $col++); } $output .= '</table>\n'; ?> --was-- An update to kristofer at caveo dot se's table building loop: $output .= '<table width="100%" border="1">\n'; for ($row = 0; $row < 3; $output .= '</tr>\n', $row++) { $output .= '<tr>\n'; for ($col = 0; $col < 3; $output .= '\t<td>Empty Cell</td>\n', $col++); } $output .= '</table>\n'; http://php.net/manual/en/control-structures.for.php

« previous php.notes (#74058) next »