Posts by Bilico • 75 points
12 posts
-
1
votes1
answer41
viewsA: Error while performing Mysql update with composite keys
In the create below you are using the column TS_RLZC_TREI table ACDM_TREI_RLZD_ALU_EXCC as a foreign key. However, the value of it that is a reference is updating whenever you give an update due to…
-
0
votes1
answer197
viewsA: Taking Mysql Data Using Php and Passing to Javascript
You can put: echo " <script> var dados = JSON.parse('".json_encode($dados)."'); </script>"; And then use javascript as data
-
0
votes1
answer402
viewsA: Error Inserting the result of a SELECT into tables of different Mysql databases
Good morning Henry. I have been looking at the code and realized that your goal is to insert the result of select in another table of another bank on the same server. If there is no need to work…
-
0
votes1
answer106
views -
0
votes1
answer52
viewsA: Plot X Axis Graph with Date
try using the date command in PHP. Ex.: date('Y/m/d', $variavel_data);
-
0
votes2
answers161
viewsA: Chart Jquery entering array values
Something that might be wrong is the following excerpt: echo "var tags = ". $js_array. ";\n"; echo "var contagem = ". $array2. ";\n"; Because json_encode returns a string, it is necessary to quote…
-
0
votes1
answer291
viewsA: How to take only one element of an associative array
Try it this way: $array->thumbnail; Since the true parameter was not passed in json_decode, it is returning an object.
-
0
votes1
answer225
viewsA: Add items within an array to later save
An interesting solution is to use JSON. In this example you would use a form and pass the parameters to PHP via AJAX. It is only necessary to add the fields inside the form with the same name. This…
-
0
votes2
answers135
viewsA: Select in multiple columns with dot in the name does not return result
Have you tried taking the clasps off? SELECT DISTINCT col.A FROM stabela UNION SELECT DISTINCT col.B FROM stabela UNION SELECT DISTINCT col.C FROM stabela…
-
-1
votes5
answers4508
viewsA: Problem in video autoplay
$('document').ready(function(){ var video = document.getElementById("meu_video"); video.play(); }); <video width="400" controls id='meu_video'> <source src="mov_bbb.mp4"…
-
0
votes1
answer70
viewsA: Graph not hiding value from last column
animation: { duration: 0, onComplete: function () { var ctx = this.chart.ctx; ctx.font = Chart.helpers.fontString(Chart.defaults.global.defaultFontSize, 'bold',…
-
-2
votes1
answer70
viewsQ: Graph not hiding value from last column
The last value of the column is not hidden. When I hide the seller 4 the chart does not hide the values of the seller <!DOCTYPE HTML> <html lang="pt-br"> <head> <meta…