Posts by Victor Mansolelli • 129 points
11 posts
-
1
votes0
answers37
viewsQ: Monitoring of SQL script
Someone can help me, In my company I have a script that checks how many emails have been processed and sent by the server, but sometimes the program that makes the submissions crashes and I only…
-
0
votes4
answers842
viewsA: Write MYSQL data in en / UTF8 format
From all of you it worked very well Thank you <?php //Pagina de Conexão com o banco de dados //Define as Variaveis PDO para conexão define( 'DB_HOST', 'localhost' ); //Local de acesso do banco…
-
0
votes4
answers842
viewsQ: Write MYSQL data in en / UTF8 format
As I do to save data in the database in Brazilian format with accents, I used it in connection mysqli_set_charset($conexão, 'utf8'); but now my code is all in PDO as I do to save this data in utf8…
-
2
votes1
answer417
viewsQ: Show Image inside another
Galera So and I have this picture of wallet and I need to display another image on top of the case the photo of the person, I was able to enter the data searched from the bank but the photo of the…
-
1
votes2
answers146
viewsA: Why don’t you update?
It worked fbiazi Vlw even I will put the final code that <?php error_reporting(E_ALL); require 'conexao.php'; //Pega o id da url if ( isset( $_GET['id'] ) && ! empty( $_GET['id'] ) ){ if…
-
2
votes2
answers146
viewsQ: Why don’t you update?
If you search only one like this and run the foreach it does the update but if you have more it no longer does... But if there’s more of one like in the other image it doesn’t change and it doesn’t…
-
0
votes1
answer195
viewsQ: Because my LIMIT does not accept variable
ERROR: it simply does not query when playing on a foreach because LIMIT does not become the variable I declared Does anyone know me? $cont = 2; $stm = $pdo->prepare('SELECT sol_camiseta.id,…
-
2
votes3
answers9183
viewsQ: How to reset Mysql auto-increment?
Guys, how do I reset the auto increment of Phpmyadmin? I tried already ALTER TABLE `table_name` AUTO_INCREMENT=1 But it didn’t work
-
1
votes0
answers1033
viewsQ: How to do mysql php image update
Guys have this code and need to update the image that is already saved in the database, but it error, Undefined index: photo and file_get_contents(): Filename cannot be Empty Code <?php require…
-
1
votes0
answers506
viewsQ: Save image together with form to database by PHP
Good afternoon guys, help me please, I found a tutorial on the internet that teaches you to save the image in the database with php and jquery, but it teaches send only the image I’ve tried every…
-
1
votes3
answers771
viewsQ: How to put two $Row results into variable?
The code below gives error, it does not add the results of $row, only the comma and the dot. What to do? Code that doesn’t work mysql_select_db('cadastro',$conexao); $sql="select * from usuario";…