note 36674 added to control-structures.for
| From: | Amgine at rn2 dot php dot net | Date: | Sat, 18 Oct 2003 05:06:15 +0000 |
| Subject: | note 36674 added to control-structures.for | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-58790@lists.php.net to get a copy of this message | ||
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';
----
Manual Page -- http://www.php.net/manual/en/control-structures.for.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36674
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36674&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36674&report=yes
Search -- http://master.php.net/manage/user-notes.php