Posts by Gildásio Júnior • 41 points
2 posts
-
0
votes2
answers480
viewsA: Return primary key after insertion into Mysql
When it comes to Mysqli you can use the function insert_id(). Example of documentation: <?php $mysqli = new mysqli("localhost", "my_user", "my_password", "world"); /* check connection */ if…
-
1
votes1
answer81
viewsA: Server to save images
and safe to save image in the site directory itself? The issue of security will involve many other things, such as how your entire application was developed, the configuration of services on the…