Answer the question
In order to leave comments, you need to log in
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
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question