This short guide may help you to quickly create a simple data flow from the query to the JSON response for example if you want to build an API endpoint. You can find here some details that can save you time and answer to the following question: “Why my accented chars and emojis are not…
Category: PHP
How to save PHP object into SESSION variable
If you try to save an object into the $_SESSION variable, you will probably notice this error: __PHP_Incomplete_Class Object This error occurs when an object cannot be serialized and deserialized properly. For this reason, before assigning an object to a session variable, you must serialize it using the function To deserialize it you just have…