Updating mysql php
The value of the hidden field must be retrieved from the $wish array.The value must be an empty string during the creation of a new wish.
Serverpilot installs My SQL 5.5 but I need 5.6 to run Magento 2.
The cases are distinguished by the Server Request method through which the data is transferred.
GET indicates that the form is displayed when the user first gets to the page by pressing Edit Wish.
Otherwise, if the Server Request method is GET and the $_GET array contains an element with the key "wish ID", the values are retrieved from the database by the function get_wish_by_wish_id.
Finally, if the Server Request method is neither POST nor GET, which means the Add New Wish use case takes place, the elements are empty.