0
// 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'"

私は挿入と他のすべてを行うことができます-しかし、私はどのように作成するか混乱していますselect();

助けてくれてありがとう。

4

1 に答える 1

1

Select 関数の実装方法がわからないので、次のように想定します。

$oMySQL->Select('users', "email='$email'");
于 2013-07-27T16:07:51.390 に答える