I run into a problem when trying to upload images to the server using a symfony form as follows:
$form = $this->createFormBuilder($image)
->add('full', FileType::class, array('label' => 'Imagen', 'multiple' => true))...
I have the following a doubt regarding the code that I implemented. Although it is functional, I am not convinced by the way in which I managed to solve the problem.
What it does is calculate the average of the recorded data at the exact time...
I am trying to develop a function that will help me simplify my database queries. I am implementing it with prepared queries and a bit of dynamism at the moment of knowing that I am executing. Actually I have never used the prepared queries nor...
I have a table that brings all the records of my complex table and a button that opens a modal, the problem is that when selecting a record of the table (In the view) it does not show me as it corresponds the information of the chosen registry...
I have the following Array in PHP:
array(4) {
["moduleName"]=> string(8) "Products"
["id"]=> string(6) "14x937"
["user"]=> object(Users)#523 (99) {}
["data"]=> array(40) {}
}
I try to go through it in all po...
I have a column named PRECIO and another CANTIDAD , column PRECIO is in text format and the decimal separator has a comma, (this is the result of an excel export to mysql).
Achieve multiply PRECIO x CANTIDAD...
I have a variable in JavaScript that I can send to value of a form in html.
The input where the variable is loaded is like hidden because I do not want it to display the value on the screen. The form only has that input...
I am developing a theme and I am applying shortcodes , but in the pages and in the entries, it shows me the literal text instead of what the shortcode returns.
I'm using the code that comes out in the API.
//[foobar]
function f...
I can not get this code going. It is about listing the prime and non-prime numbers defined in a range by showing the multiplication table of those that are prime. Let's see if someone clarifies how to define the code.
<?php
for($i=3;$i<...
Well I am something new and I do not have much exp the following thing in an arrangement of 3 numbers to know which is the biggest, the smallest or if they are equal
I have it this way I do not know if it will be correct or open a better clarifi...