Posts by Daniel Molina • 49 points
8 posts
-
0
votes2
answers780
viewsA: Line break within a MYSQL query
Really the problem was not in the query but in the application. I found the solution on the FPDF site using a Multicell, this function already creates a cell and breaks the lines depending on the…
-
0
votes2
answers780
viewsQ: Line break within a MYSQL query
Hello someone can help me with line breaking within a mysql query? The code goes like this: CONCAT('Origem -> ',vEnderecoOrigem,' \r\nDestino ->',vEnderecoDestino) The result: Origem -> Rua…
-
0
votes1
answer71
viewsA: Dropdown menu shows no subitens
I tested it here and it is working perfectly, make sure the bootstrap files are being included correctly in the head of your code. follow the example: <html> <head>…
twitter-bootstrapanswered Daniel Molina 49 -
0
votes1
answer79
viewsA: global $var does not work in PHP
Try calling it inside the function without the "global": <?php $_this =& get_instance(); function ConfiguracoesSistema($coluna){ $configuracoes = $_this->db->get('configuracao');…
-
0
votes1
answer1791
viewsA: Xampp error Windows 10 apache and mysql not start
I had some problems with XAMPP too, the most common solution is to reinstall it. Remembering that it runs as an administrator.
xamppanswered Daniel Molina 49 -
0
votes2
answers124
viewsA: PHP Web Service with INNER JOIN
query("SELECT * FROM refeicao_refeicao INNER JOIN refeicao_alimento ON refeicao_refeicao INNER JOIN alimentos_refeicao ON refeicao_refeicao WHERE cardapio.id_refeicao = refeicao.id AND…
-
1
votes3
answers178
viewsA: How to take width of div when minimize screen - Bootstrap
Use the bootstrap’s own grid: col-Xs-"and a number up to 12" use class Xs for mobile guidance col-Sm-"and a number up to 12" use class Sm for guidance on tablets col-Md-"and a number up to 12" use…
-
0
votes3
answers536
viewsA: How to Block a button
Just check in the betting bank the id of who is betting for example First refer to the database with the user id: $query = "select * from apostas where id_usuario='$id_usuario'"; $result=…