73行:
<td align="right">共<?print("$sql_row[reply]);?>篇 讨论区:PHP</td><?print("$sql_row[reply]);?>
==>
<? echo $sql_row['reply']; ?>
<td align="right">共<?print("$sql_row[reply]);?>篇 讨论区:PHP</td><?print("$sql_row[reply]);?>
==>
<? echo $sql_row['reply']; ?>
<?print("$sql_row[reply]);?>
<? echo $sql_row['reply']; ?>
请问这两行有什么不一样吗?
sql语句本身没有问题呀~~
<?print("$sql_row[reply]);?>
引号少了一半;(其实如果里面是变量的话,不加也可以)
[]内的是字串,必需用''或""引起来,如果是数字的话,引号也可以省略。