Posts by Gustavo Kimura • 31 points
3 posts
-
0
votes1
answer96
viewsQ: What is the best way to store Civil Status data in the database?
Hello, I have a question: I need to create a <select></select> in HTML for the user to select their marital status. So, I’m using PHP to save the data to an SQL database. My question is…
-
1
votes1
answer82
viewsA: Symfony 4 - How to save images with Formbuilder (Filetype) in Base64 in the Database(Mysql)?
Really what $form["foto"] is an instance of Uploadedfile, such as fajuchem said. the return $this->json($form["foto"]->getData()); performed the conversion automatically to string, so returned…
-
1
votes1
answer82
viewsQ: Symfony 4 - How to save images with Formbuilder (Filetype) in Base64 in the Database(Mysql)?
Hello, I’m trying to make a form where the user just inserts an image. In theory, the image should be stored as a Blob file (Base64) in the database, but Symfony is storing "tmp/php/random value" in…