A function like this is showing comments on my website
$retrieve = $con->select2("*", "`comments`", "page_id=" . $page_id, "`comments`.`id` DESC LIMIT ".$con->comnt_limit);
where
$comnt_limit = 5;
I want that when I click on an anchor like this
Show all Comments
my **$comnt_limit = $show_all** where i have **$show_all** variable which contains total number of rows in my mysql table and now the above function that retrieve my data run and show all comments on the same page
以上就是I want to show my all comments by clicking an anchor but I don't know how的详细内容,更多请关注web前端其它相关文章!