echo '<a href="view_post.php?post_id=$result_row["post_id"]>';在view_post中,
$post_id = $_GET["post_id"];
echo $post_id. '<br>';显示的是:
$result_row[在原程序中$i=$result_row["post_id"];
echo $i.'<br>';
显示的是数字
$post_id = $_GET["post_id"];
echo $post_id. '<br>';显示的是:
$result_row[在原程序中$i=$result_row["post_id"];
echo $i.'<br>';
显示的是数字
You don't have permission to access /"view_post.php on this server.
应该用
echo '<a href="view_post.php?post_id=' . $result_row["post_id"] . '>';
3>Money Conversion by Jon Phillips from the Feature Requests category at 2012-05-03 23:00:12
变成整个数据了
echo '<a href="view_post.php?post_id='.$result_row[post_id].'">';