Proper way of saving data
-
I have a form in my custom menu page ( admin ), and I would like to save the value from the form somewhere.
I have tried to save the data into the database, but I find this method a bit time-consuming ( create table ) and it causes some security concerns when connecting to the database.
So far I have created a class and I save the data into the properties by this method with
preg_replace
to replace the properties value in the class.Is there any expert or experienced developers who can tell which method is better here and why?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Proper way of saving data’ is closed to new replies.