我如何使这一节更加专业? 将中间6条线合并为1条线有某种办法吗?
if($hyperlink){
$hyperlink_new=$hyperlink;
$hyperlink_new=str_replace("row[0]", $row[0], $hyperlink_new);
$hyperlink_new=str_replace("row[1]", $row[1], $hyperlink_new);
$hyperlink_new=str_replace("row[2]", $row[2], $hyperlink_new);
$hyperlink_new=str_replace("row[3]", $row[3], $hyperlink_new);
$hyperlink_new=str_replace("row[4]", $row[4], $hyperlink_new);
$hyperlink_new=str_replace("row[5]", $row[5], $hyperlink_new);
echo "<a href="$hyperlink_new">";
}
谢谢。