Posts by Weliton Figueiredo • 147 points
14 posts
-
1
votes1
answer115
viewsQ: Problem in the setListData
I did the example of the book "Java How to program". I’m having trouble on the line copyJList.setListData(colorJList.getSelectedValue()); Could someone help. package…
-
1
votes1
answer144
viewsQ: Error to access parent class method
Traceback (Most recent call last): File "C:/udemypy/Basico/classes/heranca/ex2/funcionario.py", line 20, in print(gf.getBonificacao()) File "C:/udemypy/Basico/classes/heranca/ex2/funcio.py", line…
pythonasked Weliton Figueiredo 147 -
2
votes1
answer306
viewsQ: Vertical menu with filter inside the sub-menu
I would like to make a filter inside the sub-menu, filtering the menu itself as you type it will display the related. The idea would be similar to this link. At the end of my menu has sub-menu…
-
1
votes2
answers553
viewsA: Function with CAST and SUBSTRING
Solved by making two changes. The down payment changed from INT for BIGINT And put a IF to check if it is less than or equal to 3 characters. DELIMITER $$ DROP FUNCTION IF EXISTS subInteiro $$…
-
1
votes2
answers553
viewsQ: Function with CAST and SUBSTRING
This function would return the last two "95512" or to return the number without the last two digits "95512". The value passed to function can vary, at least 3 character and at most 11 DELIMITER $$…
-
1
votes2
answers328
viewsQ: Commit using PHP
Defining SET AUTOCOMMIT=0 on connection but not working. I’m using $mysqli->real_connect() if (!$conn->options(MYSQLI_INIT_COMMAND, 'SET AUTOCOMMIT=0')) { $fErro .= '<p>Não foi possível…
-
1
votes2
answers79
viewsA: Error in the procedure
In this way nay there were more error. DELIMITER // DROP PROCEDURE IF EXISTS P_lgs;// CREATE PROCEDURE P_lgs ( IN idcod INT, IN dt VARCHAR(20), IN ip VARCHAR(20), IN msg VARCHAR(250), IN mail…
-
1
votes2
answers79
viewsQ: Error in the procedure
I’m new to creating PROCEDURE. I am trying to create this PROCEDURE plus this tando error. DELIMITER // DROP PROCEDURE IF EXISTS `P_lgs`; CREATE PROCEDURE `P_lgs` ( idcod INT, dt VARCHAR(20), ip…
-
3
votes1
answer152
viewsQ: Security in PHP
I’m new to php security and would like to know if the items listed below would help to make my site safer. SSL(Secure Socket Layer) PHP Remove all possible information by referencing the server (PHP…
phpasked Weliton Figueiredo 147 -
0
votes0
answers350
viewsQ: Communication between PHP and Android
I have a PHP application used this commands: ini_set("allow_url_fopen", true); $json = file_get_contents('php://input'); Because data is sent by Android system. What is sent to PHP is a JSON, after…
-
0
votes1
answer319
viewsQ: Intermittent problem with Uncaught Typeerror: Cannot read Property 'locac' of Undefined
I’m having this problem Uncaught Typeerror: Cannot read Property 'locac' of Undefined With the code: function fnc(){ var evt = (window.event ? window.event : event); var elemento = evt.target; var…
-
0
votes1
answer261
viewsQ: Disable checkbox
I need a help, like I do to disable when the first checkbox is selected. On the link is an example of what was riding. http://jsfiddle.net/welguri/v4s2jep4/1/…
-
0
votes3
answers73
viewsQ: Remove event handler after 3 click
I have this code, which I need the click event to be removed after x attempts. Example: http://jsfiddle.net/welguri/s0x213jL/ var qtdadeCliques = 0; var eventCon = function(evento){ qtdadeCliques++;…
-
1
votes1
answer89
viewsQ: Processing of inserts in Mysql
It is possible to know if Mysql inserts are being made after closing the connection? The PHP code has 800 lines, I know it goes all the way, because the last instruction is successfully performed.…