Posts by Nouvo • 21 points
6 posts
-
-3
votes1
answer29
viewsQ: Query output in mysql grouping
I need help for a query grouped in mysql. Can anyone help me? Tables CREATE TABLE `tb_tree` ( `idtree` int(255) NOT NULL, `idrec` varchar(255) NOT NULL, `idusrec` varchar(255) NOT NULL, `idreg`…
-
0
votes1
answer100
viewsA: Check whether array contains selected value in a mysql query with PHP
RESOLVED: Just do it like this: FIND_IN_SET($wekc,weekg) $sqlturg = "SELECT idturg FROM tb_turg WHERE FIND_IN_SET($wekc,weekg) AND classg = '1'" And I would only need one consultation... Aff I’m…
-
0
votes1
answer100
viewsQ: Check whether array contains selected value in a mysql query with PHP
I wonder if you could help me? I need to check if array contains a specific value in a mysql query. In a function I get the day value of the week: $wekc = 4 In table tb_turg, I own the weekg column…
-
-3
votes1
answer76
viewsQ: Bootstrap tooltip floating on the page at random
How are you guys, all right? There is a recurring problem with bootstrap TOOLTIP, which does not disappear after removing the mouse and if you scroll the page it goes to the corner of the page as in…
-
-1
votes1
answer44
viewsQ: Convert PHP output (mysql query) into a Javascript array
The result of the query will come out like this (It depends on what was saved in the bank): $week = 1,2,3 I have the following function: function verificar(valor) { //Verificar se valor de m está…
-
2
votes1
answer122
viewsQ: How to view and count the days of a week between two dates using javascript and php
I have the general table tb_turg that stores the records like this: idmodg: 13 (codigo do módulo) codturg: 101 (código da turma) iniclasg: 2020-01-13 (data de inicio) terclasg: 2020-02-21 (data de…