我有以下echo语句,它显示了会话中的数值:
<?php echo(str_replace('"', '"', $row_WAATKgblqemplisting['Group'])); ?>如何修改此语句以使$row_WAATKgblqemplisting['Group']
它说:这是#2,如果它等于1,它说:,这是#1,如果它等于3,它说:,这是#3?
发布于 2012-05-19 03:42:01
echo 'This is #' . $row_WAATKgblqemplisting['Group'];如果要写入HTML,则可以使用实体#而不是ASCII #
发布于 2012-05-19 03:41:43
$number = $row_WAATKgblqemplisting['Group'];
echo 'This is #'.$number;这就是你想要做的吗?
发布于 2012-05-19 03:44:45
echo "This is #{$row_WAATKgblqemplisting['Group']}\n";https://stackoverflow.com/questions/10658752
复制相似问题