Posts by Fabiano Monteiro • 1,192 points
54 posts
-
0
votes3
answers922
viewsA: How to create a table (empty) from a selection of other tables?
Hello! Well, I know the code is bad. But in a quick test here, it has fulfilled what you’re looking for. See, if the number of fields is greater than the current three, then it is better to…
-
0
votes1
answer80
viewsA: Run SILEX website on shared hosting
Hello! Well, if my comment helps anyone. See, it is possible to have an application with the index in webroot, according to the documentation. In the documentation it is also exemplified how to…
silexanswered Fabiano Monteiro 1,192 -
0
votes1
answer76
viewsA: PHP Fatal error: Call to a Member Function initBD() on a non-object
Well, for good practices it would not be the best way for a connection structure and DML, but based on its code and with some modifications, SEE: NOTE: Mysql port equal to 80? Wouldn’t be 3306 or…
-
2
votes1
answer153
viewsA: How to use password_hash in select
First search for the password in the bank using the user login, then check: $senhaPost = $_POST['password']; $senhaDB = ...; if (password_verify($senhaPost, $senhaDB)) { ... }…