I’m using PDO’s fetch_class feature to retrieve data from my database row into object, It’s pretty convenient, but how can I do to do the opposite (object to database row) ? without using serialization of course.
I’m using PDO’s fetch_class feature to retrieve data from my database row into object,
Share
without using an ORM, you have to create your own save method.
Bye.