Reputation: 11
// Gets a single row from $from where $where is true
function Select($from, $where='', $orderBy='', $limit='', $like=false, $operand='AND',$cols='*'){
Let's say I created the object -
$oMySQL = new MySQL();
$oMySQL->Select();
- SELECT * FROM users where email='$email'"
I can do insert and all the others - But I am confused how to make the select();
Thanks for the help.
Upvotes: 0
Views: 67
Reputation: 4616
Since i do not know how the Select function is implemented i would assume something like this:
$oMySQL->Select('users', "email='$email'");
Upvotes: 1