Posts by Geo • 97 points
20 posts
-
0
votes2
answers131
viewsQ: How to include a Refresh in window.open with _Parent?
I have a form of texts and photos that you send to records.php And in write.php redirects to.php result with:…
-
0
votes2
answers362
viewsA: How can we leave only the first uppercase letter of each paragraph?
Solution based on the help of Michellhenrique I used Implode // Transforma os parágrafos em itens de um array $texto = explode("\n", str_replace("\r", "", $texto)); // Percorre todos os itens do…
-
-1
votes2
answers362
viewsQ: How can we leave only the first uppercase letter of each paragraph?
In the textarea field, if the user type everything mixed (uppercase and minuscule) in several paragraphs, I need only the first letter of each paragraph capitalized. If you use…
-
-2
votes1
answer81
viewsQ: How to open 4 sequential Selects, the last 2 not related to items?
EDITED I have 4 selects I called Level: Level 1 opens Level 2 as each item is selected. Each Level 1 item opens a specific select (works and uses Jquery) What I need: When selecting any item in…
-
1
votes0
answers171
viewsQ: How to keep the Accordion Menu open after clicking on the link and paging?
I need the clicked link panel to remain open on the new page For example: By clicking on Link 3 directs to pg3 with Section 1 open adaptation of w3schools Note: the clicked link is marked on the new…
javascriptasked Geo 97 -
1
votes1
answer55
viewsQ: Function that generates Multiple Inputs sends only #1. How to resolve?
The function creates inputs for data inclusion By clicking add, the fields are generated correctly The problem is that it always sends the number 1: a) If you just open and click Send; b) and even…
javascriptasked Geo 97 -
1
votes1
answer215
viewsQ: How to use Select onchange to not show parameters in the url?
I have the following select <select onchange="location = options[selectedIndex].value" id="sel"> <option value="?cod=<%=cod%>&op=1">opção 1</option> <option…
javascriptasked Geo 97 -
0
votes3
answers585
viewsA: How to use Rewrite to include subdirectory and Slug?
I decided as follows: No . htaccess of the main index RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L,NC] And in folders…
-
0
votes3
answers585
viewsQ: How to use Rewrite to include subdirectory and Slug?
Edition: I refined the information based on the answers and questions of the employees. internal urls in menus: a href="/cursos/matem/? Slug=Algebra-linear">Mathematics Algebra a…
-
-1
votes1
answer256
viewsQ: Which of these 3 PDO codes has the best performance?
Purpose: Select a single line with LIMIT 1 Internal Use: The selects receive only internal parameters You don’t need PREPARE because there is no external user data $pdo = new…
-
1
votes1
answer162
viewsQ: PHP 7.1 How to disable unused BD resources?
In php 7.1 the configuration of php.ini (original Locaweb) contains several BD commands that are not used. I only use Mysql with PDO. What can be disabled in php.ini and how to do it? Below php.ini…
-
0
votes1
answer254
viewsA: Windows with php the utf-8 characters are correct and not in Linux?
I was able to correct the accent: Mysql Table: put in Collation = utf8_unicode_ci Connection to BD with PDO $pdo = new PDO("mysql:host=XXX;dbname=XXX; charset=utf8", "XX", "XX",…
-
0
votes1
answer254
viewsQ: Windows with php the utf-8 characters are correct and not in Linux?
I created php pages in windows 2012 with php (to migrate from Asp to php) The pages in php are: HTML5 (made in Notpad++ in UTF-8 Encoding) Has < meta charset="UTF-8" > in the head Accesses in…
-
0
votes1
answer39
viewsQ: How to use taggleClass for 3 different css?
When accessing pag, titles are color=blue When you click on the title the color changes to color=red (and opens contents) But when the title closes it goes back to color=blue I need: When you click…
-
0
votes4
answers155
viewsA: How to create function with SINGLE BUTTON to open multiple class together?
André and Gabriel: Your guidelines were great and functional and helped me a lot. I thank you for your help and I consider myself satisfied. Gabriel, your attention and patience are commendable. I…
-
0
votes4
answers155
viewsQ: How to create function with SINGLE BUTTON to open multiple class together?
In the current function below, opens an ID (title) in each click. And you can open several if you click on each. It is great and working perfect (I believe) But I I need to have a single separate…
-
0
votes1
answer55
viewsQ: Create a temporary select file to repeat on other pages
It is possible to do only a select query processing in php and mysql and use the result in pages that are sequels? Exemplo: Pagina 1 = faz select de dados, mostra o resultado e reserva. Pagina 1-1 =…
-
0
votes0
answers90
viewsQ: Why use W150 w400 w800 in Picture with source > media?
Use the settings below without indicating wxxx <picture> <source media="(min-width:1024px)" srcset="arquivo3/foto.jpg"> <source media="(min-width:500px)"…
-
3
votes2
answers111
viewsQ: Convert function for next ASP to PHP
I have this function in ASP and need to convert to PHP DICE: cod = "01A" ou cod = "01B" ou cod = "01C" titulo = "Novidade" FUNCTION: letra = right(cod,1) str = array("A","B","C") for i = lBound(str)…
-
1
votes1
answer50
views