Posts by Jorgito da Silva Paiva • 177 points
22 posts
-
-1
votes1
answer42
viewsQ: How to insert a new associated key within PHP Multidimensional Array
The array has the following structure below: $array = [ [['total_arrematado' => 27, 'id' => 5],['total_arrematado' => 10, 'id' => 7]], [['total_arrematado' => 50, 'id' =>…
-
0
votes2
answers124
viewsQ: How to Calculate read values in an Array and store the calculation in a single PHP variable
The array has the following structure below: Array ( [0] => Array ( [value] => 0 [total] => 100 ) [1] => Array ( [value] => 1 [total] => 50 ) [2] => Array ( [value] => 0…
-
0
votes2
answers103
viewsQ: Percorer 2 Distinct Arrays and Verify Which Values are Equal
How to go through 2 distinct arrays to verify which values are equal and after the check print only the equal values of both arrays? The arrays' structures are in the following form below, I tried…
-
0
votes1
answer76
viewsQ: Filling an Array with Read Data from an XML File
I need to fill an array with read data from an XML file, the code is listing all of the xml file the data in the browser correctly: if (file_exists('clientes.xml')) { $xml =…
-
2
votes3
answers362
viewsQ: How to insert a new key associated with a new value at the end of a PHP Multidimensional Array
I have a multidimensional array with the following structure below: Array ( [0] => Array ( [id] => 1877 [type_id] => 4 [service_id] => 1100 ) [1] => Array ( [id] => 2299 [type_id]…
-
-1
votes1
answer343
viewsQ: Fill a Loop Multidimensional Array from 3 separate PHP arrays
Someone knows a way to fill a Multidimensional Array with a Loop structure from 3 separate PHP arrays? Separate arrays are in the following structure: After filling with some loop structure a single…
-
0
votes1
answer239
viewsQ: Error Defining Headers-Authorization in Data Return in Axios
I’m trying to set the headers - Authorization after a request via Xios, this request returns the token that is generated on the server, in line 7 of the code below assign the token that is returned…
-
0
votes0
answers105
viewsQ: Import or Require Qs.stringify inside Javascript script
It is possible to apply a import or a require in querystring.stringify to use it inside a pure javascript? What is the ideal way for this implementation below? Ex: <script> var qs =…
-
2
votes4
answers4547
viewsQ: How to Merge 2 or more Json Objects into Only 1
How can I unite two or plus Objects in Json so that you’re just one object Json, but this, containing all the unified data? How this union could be made? Example below: Obj 1 […
-
0
votes1
answer136
viewsQ: Cross Table in Mysql
Does anyone know how to implement a Cross Table in Mysql to help me? I need to transform a query that always returns 4 result lines to only 1 row by placing each row field in columns next to each…
-
0
votes0
answers215
viewsQ: Unify Multidimensional Array in only 1 array in PHP
Is it possible to transform a Multidimensional array into just 1 (one) array in php? What would the process be like to do this? In the image below, I need to transform the array on the left side so…
-
1
votes0
answers46
viewsQ: Turn a multi-line query into One Line Only with all records in MYSQL
Someone with knowledge in MYSQL to help me in this case? How to turn a query that generates multiple lines into a single line with all records next to each other in the Mysql database. Example in…
mysqlasked Jorgito da Silva Paiva 177 -
0
votes1
answer3521
viewsQ: Configure Laravel Application on Production Server
Someone who has already deployed application in Laravel on Centos 7 Production Server to give me a hand?? I have done all the basic possible settings, created Virtualhost pointing to the public…
-
0
votes2
answers4216
viewsQ: Function MAX only 1 (one) record on Oracle
Could someone give me a hand in using Oracle’s Function MAX()??? I need to do a query that returns only the last record of a history table, but I need to return 3 (three) columns of this record…
-
0
votes0
answers74
viewsQ: Phpexcel error generate Excel using CONT.SES Formula with signal =
Good afternoon, I made an implementation to generate an excel spreadsheet where in a cell the formula CONT.SES() should be inserted. But if I put the equal sign (=) before the CONT.SES() ->…
-
1
votes0
answers57
viewsQ: How to Dump Mysql command line without Views
Does anyone know how to dump a database in Mysql via the command line without the views, only the database tables?
-
4
votes1
answer1312
viewsQ: See The Employee Salary Amount on a Given Date
Does anyone know what a query would look like to see what a certain employee’s salary is at a certain date? The table of the salary adjustment history of each employee has the following fields:…
-
1
votes1
answer2021
viewsQ: PHP Connection to FIREBIRD Database
I’m trying to make the connection between PHP and the Firebird database, but I’ve tried several alternatives and I can’t solve them. The error message that appears when trying to make the connection…
-
0
votes1
answer521
viewsQ: Change TD background color by clicking Radiobox Checked and changing Color again when Quitting Radiobox
Good afternoon, I would like to know how to change the background color of a TD by clicking on the radio box contained in it and exiting to another radio box of another TD back to the original…
jqueryasked Jorgito da Silva Paiva 177 -
2
votes1
answer11610
viewsQ: Wherein no Eloquent
I’m trying to implement a query with the use of whereIn in Eloquent, but always generates a mistake, someone would know to give me guidance on? My code is like this: $result =…
-
2
votes0
answers74
viewsQ: Store time in TIME type field greater than 838:59:59 in Mysql
Good afternoon, Could someone help me with this? I am in need of storing values longer than 838:59:59 in the TIME field in Mysql. Is there any alternative for the TIME type to be able to store value…
-
0
votes2
answers1054
viewsQ: How to take ID of inputs generated within DIV dynamically'
I would like to know how to get the ID of Hidden inputs that were generated dynamically within DIV via Jquery. I’ve tried it this way but it doesn’t work: $(document).on('click', '.div_desc_prod',…
jqueryasked Jorgito da Silva Paiva 177