1
I’m trying to do mine framework
, I’ve already managed to create a class called Model
, within it has a function called getDataBaseConnection()
and now how do I do it? I can’t create another function to get information from Database
, remembering that I’m doing with PDO
.
If your question is not the same as indicated, it would be legal [Edit] and add the specific parts of your problem that are not in the link above (if applicable, after editing leave a comment, which I re-read).
– Bacco
Here is another example in the answers http://answall.com/questions/67465/pdo-conex%C3%a3o-com-banco and here is more information http://answall.com/search?q=php+pdo
– Bacco
Welcome to Stack Overflow, your question seems a little broad, cite your specific problem and part of the code. When I started at
php
I also made a library for PDO: https://github.com/Leonardo-Souza/MinPDO but it’s been a while since I’ve made commits and she’s having trouble atWHERE
– Leonardo