【发布时间】:2015-11-23 19:06:31
【问题描述】:
你好朋友需要一些帮助我正在尝试得到以下结果:
$Steps= "1010"; TEXT
以上格式来自 mysql 表
id | step1| step2| step3| step4|
0001 | 1 | 0 | 1 | 0 |
0002 | 0 | 0 | 0 | 0 |
php:
$Nperm = 0;
while($row = mysqli_fetch_array($datos)){
$result .= "$row[$Nperm]";
$Nperm++;
}
return $result
谁能帮我解决这个问题我在互联网上找不到任何东西
【问题讨论】:
标签: php mysql concatenation multiple-columns