Questions tagged [php]
PHP is a widely-used, general-purpose scripting language that is especially suited for web development.
4,303
questions
7
votes
2
answers
1k
views
Critique My Codeigniter Custom CMS Pages Model
I am currently developing a custom CMS being built on top of Codeigniter and was wondering if you can spot any flaws in my page fetching model code. The page fetching model is not entirely complete ...
10
votes
1
answer
2k
views
Php/Doctrine array hydration
According to the Doctrine docs, you should use Array hydration rather than record hydration when retrieving data for read-only purposes.
Unfortunately, this means I have to use array syntax (as ...
9
votes
1
answer
448
views
Database method to query
I have a database class that in __construct() initialize a PDO connection and insert the instance into a $db private var.
Now i'm working on a method that can be ...