The best way to interact with a database, with objects

N0ob

New Member
Alright, so after years of feeling that I've been doing it the wrong way, what is the best way to interact with a MySQL database, using PHP. Going to start off small-scale, but eventually hoping to grow large scale.I'd love to be able to use objects, like such\[code\]$book = new Book(1342);echo $book->title;\[/code\]So, what is the best way to go about using something of a data abstraction layer, or what can I use to accomplish what I am looking towards?
 
Back
Top