Y
Y
yerdnaandrey2020-05-04 22:45:38
PHP
yerdnaandrey, 2020-05-04 22:45:38

How to create post pages in php?

Hello. I'm a beginner, I'll tell you right away.
I don't know how to create pages from the database for each post. Tell.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2020-05-04
@yerdnaandrey

You create ONE page that pulls out and shows ONE post. For example, the first one, which has id=1.
Then you add getting the post number from the address bar to the beginning, and substitute it for one. And then there! magic! now this page shows any post, depending on the specified id.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question