Posts by Erick • 51 points
3 posts
-
1
votes0
answers23
viewsQ: Filter_input and PDO
1 - Which filter would be most useful in a string that will then be placed in a BD. 2 - Is there a page that shows what each filter is about and what its main uses are? Because I only found the page…
-
1
votes1
answer33
viewsQ: PDO(prepare) analyzes number of characters?
My question is simple: Imagine I have a table Nome and in it an attribute nome which is a varchar(10). If I use the command $preparado = $con->prepare("INSERT INTO Nome(nome)…
-
0
votes1
answer45
viewsQ: Object Orientation Is my idea of connection correct?
I want to register something in the database using object-oriented PHP (I’m actually learning) and came across a code duplication problem (every function I would have to create a new mysqli, and see…