本文整理匯總了PHP中DbConn::table_select方法的典型用法代碼示例。如果您正苦於以下問題:PHP DbConn::table_select方法的具體用法?PHP DbConn::table_select怎麽用?PHP DbConn::table_select使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類DbConn
的用法示例。
在下文中一共展示了DbConn::table_select方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: parentinfo_select_affect
function parentinfo_select_affect($arr, $limit)
{
$str = DbConn::table_select('parentinfo', $arr, $limit);
$this->con = DbConn::initDb();
mysql_query($str, $this->con);
return mysql_affected_rows($this->con);
}
示例2: check
public function check()
{
$this->con = DbConn::initDb();
$table = 'admin';
$arr = array('name' => $this->name, 'password' => $this->password);
$str = DbConn::table_select('admin', $arr);
$result = mysql_query($str, $this->con);
return mysql_fetch_array($result);
}
示例3: userinfo_select
function userinfo_select($arr, $limit)
{
$str = DbConn::table_select('userinfo', $arr, $limit);
$this->con = DbConn::initDb();
return mysql_query($str, $this->con);
}
示例4: token_select
function token_select($arr, $limit)
{
$str = DbConn::table_select('token', $arr, $limit);
$this->con = DbConn::initDb();
return mysql_query($str, $this->con);
}
示例5: keyword_select
function keyword_select()
{
$str = DbConn::table_select('keyword', null);
$this->con = DbConn::initDb();
return mysql_query($str, $this->con);
}
示例6: subject_select
function subject_select($arr, $limit)
{
$str = DbConn::table_select('Subject', $arr, $limit);
$this->con = DbConn::initDb();
return mysql_query($str, $this->con);
}