Flexible parameter passing in php_PHP tutorial

WBOY
Release: 2016-07-13 17:25:46
Original
1073 people have browsed it

When making netizen comments, we usually display the title of the article in conjunction with the database and make a connection, and then connect the comments.
Here, because each article has different netizen comments, it is necessary to use The passing of parameters causes each article to display different comments.

//****** Read the database data and display the article title************
echo "" ;
?>

Then combine the database in Pj.php to read the data with the id value $id, which is the comment of the netizen of the article. $topic is used to output the title of the article.
Of course this method of delivery does not have to be used, this is just my humble opinion.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/532026.htmlTechArticleWhen making netizen comments, we usually display the title of the article in conjunction with the database and make a connection, and then It’s a link to comments, because each article has different comments from netizens...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template