Код: Выделить всё
+------------+
+testtesttest+
+ +
+ +
+------------+
Код: Выделить всё
+-------------+
+aksjhdfgasjhd+
+asdfasdfafdgh+
+asdfasdfasdfa+
+-------------+
< /code>
Все ячейки текста и таблицы генерируются PHP -кодом: < /p>
$table = "";
$counter = 0;
$total = count($tabled_mani);
if ( $total % 2 != 0 ) {
$total += 1;
}
// loop through the array
for ($i=0; $i < count($tabled_mani); $i++) {
if ( $counter % 2 == 0 ) {
// first column
$table .= "" . "● ".iconv("cp1257", "utf-8", $tabled_mani[$i]) . "";
} else {
// second column
$table .= "" . "● ".iconv("cp1257", "utf-8", $tabled_mani[$i]) . "";
}
$counter++;
}
$table .= "";
echo $table;
Любой совет? Строка или HTML У меня нет пробелов в таблицах Cols.
edit
Подробнее здесь: https://stackoverflow.com/questions/416 ... -table-row
Мобильная версия