Posts by Ruggi • 509 points
15 posts
-
1
votes2
answers64
views -
0
votes2
answers1012
viewsA: Validation of Time
I had to adjust the Pattern to work the mask, for some reason the plugin only recognized the first number as an integral part of the mask, follows how I solved. var mask = "JG:MM", pattern = {…
-
2
votes1
answer1968
viewsQ: Viewing Query History in Sql Server Management Studio
I am trying to recover queries I performed in Sql Server Management Studio 2014, I know there is a simple history functionality in Heidi Sql, I wonder if in Sql Server Management Studio 2014 there…
-
2
votes1
answer195
viewsA: add to array after loop
What happens in your case is that you are always saving everything in the same associative index of the array. When you record: $array_dos_pagamentos["nome"] = $variavel_qualquer; This means that…
-
2
votes1
answer1038
viewsA: When opening a php file with localhost/.php file the page appears blank
When accessing a web server through your browser, check your files by physical path in the address bar, such as: "file:///C:/xampp/htdocs/form_contato.php", will open pure php code. To open it with…
-
1
votes3
answers1439
viewsA: While inside another While (PHP - SQL)
In reality the correct way to place multiple lines of a search inside an array is with a while, dessamaneira: $query_busca_prof = "SELECT ..."; $result= mysql_query($query_busca_prof, $bd) or…
-
2
votes1
answer208
viewsA: Multiple ADD INDEX together or separately?
If you do multiple times the query you said: $mysqli->query("SELECT id FROM tabela WHERE col1 = 'qualquer' AND col2 > 0"); Perhaps it would be more pertinent to do the composite index. Because…
-
4
votes4
answers10808
viewsA: Is it possible to create a desktop application using only PHP, HTML, CSS and jQuery?
From what I could understand by searching, yes, it is possible using a PHP extension called GTK, and yes, it is crossplatform (Windows, Linux, Mac, [insert here the OS]). From what I could read, it…
-
2
votes2
answers84
viewsA: Doubt with function js
I’ve handled a few screens like this. And I can tell you that the magic to change what you need is in the classes: Nav-Md and Nav-Sm initially search in your html one of these classes, in your body…
-
2
votes1
answer752
viewsA: Activity background image distorts when you open the keyboard
I found a very similar topic in stack overflow in English. According to him, just add this to the Activity in its manifest: android:windowSoftInputMode="stateVisible|adjustPan" It seems that the…
-
4
votes1
answer1943
viewsA: boleto php - how to check if the boleto generated by my system was paid
Man, that’s got a myriad of answers. Usually banks issue a billet return file, usually. Ret and used where I work a plugin of classes that read these types of files.…
-
3
votes2
answers1001
viewsA: Find file on server
I’m sorry I don’t put that as a comment, but I still don’t have the reputation for it... I had a similar problem in the company where I work, where PHP created the file on the server but did not…
-
2
votes2
answers8493
viewsA: How to add value to variable in jQuery?
In this case, to update the value, Voce would have to rewrite the field update, within the action of clicking the button, this way: var pontos = 0; $(document).ready(function() {…
-
1
votes1
answer1143
viewsA: Generate XML from php mysql database after query
Dude, to answer your very comprehensive question and with very little detail, there is a PHP class called Simplexml that you can generate almost anything you want in XML from any data type... Take a…
-
1
votes2
answers5590
viewsA: I cannot run Mysql Workbench 5.2 server
Dude, from what I searched here, it seems that the error returns when mysql is not running take a look if the mysql service is standing... service --status-all lists all services on linux net start…