Posts by Meireles • 69 points
17 posts
-
-4
votes1
answer200
viewsQ: How to insert target _Blank in this java script code?
I would appreciate help to open the pages in a new tab. I have this js code below, where and how to place the target _blank? if(result[i]['link']=="") { htmlToInsert += "<td><a…
-
0
votes1
answer50
viewsA: How to place two divergent standard notices concerning mandatory completion in the Popover of a bootstrap search field that has two Buttons?
Solved! After all we can choose to put two divergent warnings on two buttons within a search field, or simply undo the "required" message from one of the buttons. Through the suggestion made by…
-
-1
votes1
answer50
viewsQ: How to place two divergent standard notices concerning mandatory completion in the Popover of a bootstrap search field that has two Buttons?
In other words, each button should trigger a different message. I have this field that has two buttons and I need each of them to present a different warning message in case of not filling. But the…
-
0
votes1
answer206
viewsA: How to automatically redirect or rewind to the previous page?
Solved, can maintain all functions and just replace the part of js window.Location = ""; by window.history.go(-1); That’s the whole code: $clubeSorte->messageSupport("Login successfully done! It…
-
0
votes1
answer206
viewsQ: How to automatically redirect or rewind to the previous page?
I have this php and js code on the login page, it redirects to another page after 4 seconds, but I wanted it to redirect to the previous or source page that had sent the user to this login page. How…
-
0
votes2
answers45
viewsA: Show table data that will be active briefly with disabled attribute and also data that is already active?
Try it this way: You can pick up all the items ... <?php include 'conn.php'; $letter = $_GET["letter"]; $sql = "SELECT id,palavra,pronta from dicionario_basico where palavra LIKE '".$letter."%'…
-
-1
votes2
answers45
viewsQ: Show table data that will be active briefly with disabled attribute and also data that is already active?
I have this code below and working, it publishes the data only when it indicates 1 in the 'Ready' field of the table, and if it is the number 0 the data is not shown. But I wanted that when the…
-
2
votes1
answer281
viewsQ: Why doesn’t the required attribute work?
I have these two codes below, where Javascript does not allow enable the attribute required and I’ve tried many forms, but they have no effect. Someone has a solution for this? /** * Captuar o…
-
0
votes2
answers69
viewsA: How to show only the records exactly the same as those typed?
The correct code to answer the question is as follows, limiting the number of records shown and sorting them by one of the table fields: $sql = "SELECT id,word from interpretacao_cpp Where pronto !=…
-
0
votes0
answers43
viewsQ: How to show only records with an associated character or letter to limit the search?
The code below shows the records that include the initial number that was entered up to the limit of 5 (1, 11, 19, 107, 115...). Since the field to be searched has articles numbered with the word…
-
0
votes2
answers69
viewsQ: How to show only the records exactly the same as those typed?
I have this code that shows all records as long as the initial number or letter is the same, but I wanted to show only the records that are exactly the same as those typed in the search field, or…
-
0
votes2
answers4154
viewsA: DROP DATABASE in phpMyAdmin
Very easy: If you are in phpMyAdmin go to the control panel and also open the MySQL® Databases (where the databases and their users are created). Below, under Current Databases, you can view the…
-
1
votes1
answer182
viewsA: How to display a list in alphabetical order from mysql table?
Just fix the initial code of the page at the end, already tested and works: $sql2 = "SELECT DISTINCT(SUBSTR(`Palavra`, 1, 1)) As abc from dicionario_palavras where Pronta != 0 ORDER BY abc"; Wrong…
-
-2
votes1
answer182
viewsQ: How to display a list in alphabetical order from mysql table?
With this code the order of the letters menu, sent by mysql table, does not appear in alphabetical order. The order that currently appears is A D T V C S F M. Someone can help me to solve this…
-
3
votes1
answer57
viewsQ: How to place the list of letters received from the database in a horizontal position and join it in a single page to the list of words of the searched letter
I am building the database of a dictionary and I made the code of the page Indice.php that shows the letters of the alphabet: a) The list appears vertically but I wanted to be horizontal. b) How to…
-
0
votes2
answers176
viewsQ: How to create a single search box for Google and Wikipedia?
I created a search box with two Buttons, one for Google Search and one for Wikipedia Search. The Google button works very well but I can’t do the same for Wikipedia. Follow the code... <!DOCTYPE…
-
0
votes1
answer54
viewsQ: Why aren’t the blue balls positioned in the center of the column?
I’m creating a page with a Grid Bootstrap and I put four blue balls in one of the columns... The problem is that I cannot place the blue balls in the center of the column (they are always positioned…