Answer the question
In order to leave comments, you need to log in
What is the best way to pass the editable object ID to the edit page?
For example, I have 2 pages in the admin panel, 1 displays all posts, and the 2nd page for editing a post. We have all the posts in front of us, there is a button next to each post "edit", which redirects to the edit page. The question is, what's the best way to pass the ID of the post we want to edit to this page?
(I was thinking about: cookie( jquery / php ) / $_SESSION ( php )/ session(local)Storage , or create some kind of hidden input for each field of the post, from where we will send the ID that is written in the input with the skip, etc. e.)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question