Admin Panel: Generate New PHP Page
P粉071602406
P粉071602406 2024-04-03 15:46:31
0
1
489

I want to use php to make a blog page. The problem I have is how to create this page when I want to create a new post from the admin panel?

P粉071602406
P粉071602406

reply all(1)
P粉797004644

You need to create a blog post table, each record will be an independent blog post and displayed as an independent page.

Then you have a page, say blog.php, which takes an id (or some form of reference to the blog post you want to display), queries the database for the given blog post and renders the page.

I'm assuming you haven't posted any code/what you've tried since you don't know how to get started, so I won't give you any code either, the description above should be enough to get you started. p>

I see you are a new user, so please do not ask vague questions without specific information in the future as this is not allowed.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!