Posts by Carlos Lavezo • 11 points
2 posts
-
0
votes1
answer35
viewsA: PDO eliminates SQL field duplicity
Utilize: $result->fetchAll(\PDO::FETCH_CLASS); or $result->fetchAll(\PDO::FETCH_ASSOC); Any questions see these two PHP documentations Pdostatement::fetchAll Pdostatement:fetch:fetch This…
-
0
votes1
answer89
viewsA: as I do in php to get all the specific characters of a string
If you just want to count the number of occurrences within the String, I suggest using the function substr_count() PHP documentation…
phpanswered Carlos Lavezo 11