Object-oriented MySQL query interface in PHP [closed]

cutie

New Member
\[quote\] Possible Duplicate:
Passing multiple parameters to a method in PHP \[/quote\]I'm building a MySQL query interface. It will allow me to make selects more easily.However, I'm having a doubt about passing empty parameters. Some of my function parameters are not required, so i'm passing them empty:\[code\]query('table', '*', '', '', '0,10'); \[/code\]Being:\[code\]query($table, $from, $where, $orderby, $limit)\[/code\]Is this against some best practice? Am I doing it wrong?
 
Back
Top