B
B
BoriHagen2020-04-23 15:02:12
PHP
BoriHagen, 2020-04-23 15:02:12

How to generate a page in php?

I am writing a mini CRM system. There is a page with a list of orders and a button on each order that opens the order page. The order page has input fields for full name, number, adding products, addresses, etc. Order data is stored in the database. I can't figure out how to generate a page for each order, i.e. how to substitute specific values ​​in fields. There was an idea in each link to send a GET request with data for substitution, but this is not safe, either via POST - but I have no idea how to do this.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
ThunderCat, 2020-04-23
@BoriHagen

The identifier of the entity that you will display is passed, it doesn’t really matter which method - get, post or as a query string parameter, then by this identifier all the data of this object / entity is already taken from the database, you already display them where you need.

A
Anton R., 2020-04-23
@anton_reut

Start simple: schoolon.ru/site/course?id=12 To know how to display what to start with.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question