【发布时间】:2011-02-07 09:00:53
【问题描述】:
我有密码
$link = "group.php?=";
$fulllink;
while($row = mysql_fetch_array($result))
{
$other = $link.$row;
echo $row;
echo "<a href = \"$other\"> $row[mygroup] </a>";
echo "</br>";
}
我想链接到每个组的 group.php 页面(例如 group.php?=samplegroup)。但是,mysql_fetch_array 返回一个数组,我无法将其连接到 $link 变量。我该怎么办?
【问题讨论】:
-
$other = $link . $row['mygroup']
标签: php mysql concatenation