Posts by Romulo Rocha • 75 points
8 posts
-
2
votes1
answer1797
viewsA: Convert Mysql database from latin1 to utf8
Thank you for everyone’s comments! I managed to solve the problem only by including 'collate latin1_swedish_ci' at the end of select: $sql = "SELECT name FROM welcomed WHERE name LIKE '%$name%'…
-
2
votes1
answer1797
viewsQ: Convert Mysql database from latin1 to utf8
I have a Mysql database that is currently set to latin1 charset. When I select in a table, for example: SELECT nome FROM acolhidos Accented characters appear this way: ALESSANDRO ROGÉRIO MOTA DA…
-
2
votes1
answer101
viewsQ: Run addslashes function on all Insert fields
I am using the PHP code below to make an Insert in the Mysql database: $sql = "INSERT INTO acolhidos ( situacao, nome, dataNasc, nacionalidade, naturalidade, cidadeNasc, cpf, ... updateLogin )…
-
0
votes1
answer521
viewsQ: PHP error when connecting to Mysql database
Although I haven’t changed at all the settings of my Mysql database that has been working well for months, the connection has stopped working. This is the PHP command I use to make the connection:…
-
0
votes1
answer373
viewsA: 500 Internal Server Error - UOL Host Hosting
I will share with you the solution I found for the problem, and it is certainly not the best, but it is what I was able to do, considering that the support of 'UOL Host' is terrible.. the analysts…
phpanswered Romulo Rocha 75 -
-1
votes1
answer373
viewsQ: 500 Internal Server Error - UOL Host Hosting
I have developed a simple website to store registration information using PHP code and Mysql database. The system works perfectly in the test environment (XAMPP for Windows 7.2.0 running PHP 7.2.1),…
phpasked Romulo Rocha 75 -
0
votes2
answers2005
viewsQ: How not to lose the form fields, after validation with PHP
This question differs from the existing questions: How to persist/fill in form data via PHP? and How to pass a value to next page with PHP because my form has between 50 and 100 fields, and…
-
-1
votes2
answers348
viewsQ: CSS tab system with 2 lines of tabs - code using "float"
I am using the code below for a form with multiple "tabs", and I would like tabs 1-4 to appear above tabs 5-8, in two lines. However, tabs 1-4 appear normally, but tabs 5-8 are truncated, they do…