Posts by Hugo Leonardo • 75 points
13 posts
-
0
votes1
answer155
viewsA: Adding a conditional to the XML TAG
The solution applied was to add comment inside the XML file TAG and replace it when there was information of the type of coverage. I used the php library: str_replace and added the IF conditional.…
-
0
votes1
answer155
viewsQ: Adding a conditional to the XML TAG
I’m working on a.xml file to be sent to a service. However the question is how to add a conditional in XML, IE, I have N types of coverage that will be filled in a form and not all covers will be…
-
1
votes2
answers3366
viewsA: How to fix error: String data, right truncated: 1406
Solution for the project in question was to create a variable ($cont) to count row of each array within the loop that will be reflected in the View. Reference: Save items from a Checklist form in…
-
0
votes1
answer338
viewsA: Doubt: Scroll through a PHP Laravel multidimensional array
Applied solution was to create a variable ($cont) to count row of each array within the loop that will be reflected in the View. Reference: Save items from a Checklist form in the database - Laravel…
-
0
votes2
answers223
viewsA: Data insertion error : String data, right truncated: 1406
The solution applied was to create a variable ($cont) to count line of each array within the loop of repetition in the registerChecklistProtocolo method. Reference: Save items from a Checklist form…
-
0
votes1
answer702
viewsA: How to resolve "Array to string Conversion" Laravel Error
The solution applied was to create a variable ($cont) to count line of each array within the loop of repetition in the registerChecklistProtocolo method. Reference: Save items from a Checklist form…
-
2
votes1
answer299
viewsA: Save items from a Checklist form in the database - Laravel
The solution applied was to create a variable ($cont) to count line of each array within the loop of repetition in the registerChecklistProtocolo method. Follows code: $cont = 0; //contador de…
-
-1
votes1
answer338
viewsQ: Doubt: Scroll through a PHP Laravel multidimensional array
How to Optimize Traversing Data from the Laravel Multidimensional Array in the Controller and The Result Reflected in the View. Example:…
-
2
votes1
answer299
viewsQ: Save items from a Checklist form in the database - Laravel
I have a Checklist form that is generated dynamically. When saving the array persists in the error message: Array to string Conversion (SQL: update checklist_protocolo set projeto_id = 4, modelo_id…
-
-1
votes1
answer702
viewsQ: How to resolve "Array to string Conversion" Laravel Error
I am trying to update a registration form modal. The following error is occurring: Array to string Conversion (SQL: update checklist_protocolo set item = 0, item_descricao_id = 5, sim_nao = on,…
-
-1
votes2
answers223
viewsQ: Data insertion error : String data, right truncated: 1406
I am trying to save Checklist data from protocol, but the following error is occurring at the time of saving: The expectation is that this happens: In the description of the error it says that the…
-
0
votes3
answers1274
viewsA: How to troubleshoot the error: Reflectionexception (-1) Class App Http Controllers admin Ufcontroller does not exist
Suggested changes have been applied and solved. $this->group(['middleware' => ['auth'], 'namespace' =>'Admin','prefix'=>'ufs']…
-
2
votes3
answers1274
viewsQ: How to troubleshoot the error: Reflectionexception (-1) Class App Http Controllers admin Ufcontroller does not exist
Follow the code snippet route/web.php //Gerenciar UFs $this->group(['middleware' => ['auth'], 'namespace' =>'admin','prefix'=>'ufs'], function(){ //Inicio das Rotas de gerenciar os UFs…