$sql = “UPDATE phpbb_posts SET post_text = ‘$new_content’ WHERE post_id = $id”;
$query = “SELECT * FROM phpbb_posts ORDER BY post_id ASC”;
change( $row’post_id’], $row’post_text’]);
这几处地方。post_subject 的是:
$sql = "UPDATE phpbb_posts SET post_subject = '$new_content' WHERE post_id = $id";
$query = "SELECT * FROM phpbb_posts ORDER BY post_id ASC";
change( $row'post_id'], $row'post_subject']);
topic_title 的是:
$sql = "UPDATE phpbb_topics SET topic_title = '$new_content' WHERE topic_id = $id";
$query = "SELECT * FROM phpbb_topics ORDER BY topic_id ASC";
change( $row'topic_id'], $row'topic_title']);
topic_last_post_subject 的是:
$sql = "UPDATE phpbb_topics SET topic_last_post_subject = '$new_content' WHERE topic_id = $id";
$query = "SELECT * FROM phpbb_topics ORDER BY topic_id ASC";
change( $row'topic_id'], $row'topic_last_post_subject']);