Posts by Gabriel Sarates • 69 points
13 posts
-
0
votes1
answer42
viewsA: Disable mysql value checking
Reading in the document sent by Augusto Vasques, I checked what was configured in the global sql_mode of the VPS, and I noticed that in my place there were two different flags that were apparently…
-
0
votes1
answer42
viewsQ: Disable mysql value checking
I have a system running on a VPS that was done by me on localhost (but on another computer). This system was made in php and connects to a mysql database in the VPS itself. Now, I am cloning…
-
0
votes1
answer295
viewsA: database query returning empty array
After a pause to breathe and think a little, I solved the problem by modifying the select function in this way: public function selectDB($sql,$params=null,$class=null){ $q = $this->connect();…
-
-3
votes1
answer295
viewsQ: database query returning empty array
Hello, I have an appointment function at the bank. If the query returns 1 or more rows, the function returns an object (or a class), but if the query does not return any rows, the return is: Array (…
-
0
votes2
answers467
viewsQ: How to make a query using variables with PHP
I am trying to make the following query in the database through PHP: SELECT * FROM nwpedidos WHERE `nomeUsuario` = 'Nome' However, the 'Name' varies according to who makes the query, for this I pass…
-
0
votes1
answer37
viewsQ: Javascript Script Returning Syntaxerror: Missing ; before statement only in firefox
I have a javascript function to read files that are inside the server. In all browsers it Funiona perfectly, with the exception of firefox that returns the error: Syntaxerror: Missing ; before…
-
-2
votes1
answer255
viewsQ: Create custom interactive HTML banner Hover overlay style
Hello, I would like to create a banner in the style Overlay Hover similar to the one found on this site: http://www.gruporedservicos.com.br/ Basically, when you move the mouse over the image, the…
-
1
votes1
answer911
viewsQ: Capture pressing a key in the background
Hello, I would like to make my application detect when a certain key is pressed, but in the background, IE, there will be no form on display. I can detect the keys in the form with the code…
vb.netasked Gabriel Sarates 69 -
-1
votes3
answers244
viewsA: Generate text from form
dim usuario as string = txtUsuario.Text dim advertencia as string = txtAdvertencia.Text dim topico as string = txtTopico.Text Private Sub Button1_Click(sender As Object, e As EventArgs)…
-
0
votes1
answer2312
viewsQ: How to sort listview according to a specific column
I have a listview that shows more or less the following: ID NOME IDADE 0 Luis 19 1 Julio 33 2 Marcio 27 The problem is that when the ID comes in at 10, the listview starts to put the 11, 12, 13...…
-
0
votes1
answer251
viewsQ: How to pass listview items to text
I have a listview with some items and columns, I would like to know how to pass everything to a textbox, in text form same. Example: The table: ID NOME IDADE 0 Luis 47 1 Juca 69 Na Textbox: 0 Luis…
-
4
votes1
answer3189
viewsQ: How to change the blinking cursor from "|" to "_" in a textbox
I’d like to know how to use the character _ to write, like when you press the key Insert in some text editors (Notepad++) and the text is written with the _ in front of the letters. More basically,…
-
0
votes1
answer98
viewsQ: Gallery in wordpress page?
I wanted a wordpress plugin that displayed my media gallery on a page for everyone to see. Has how to do it directly, or someone knows some plugin for it?