コード例 #1
0
ファイル: ParentInfo.php プロジェクト: bmchun/sunset
 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
0
ファイル: adminCheck.php プロジェクト: bmchun/sunset
 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
0
ファイル: UserInfo.php プロジェクト: bmchun/sunset
 function userinfo_select($arr, $limit)
 {
     $str = DbConn::table_select('userinfo', $arr, $limit);
     $this->con = DbConn::initDb();
     return mysql_query($str, $this->con);
 }
コード例 #4
0
ファイル: Token.php プロジェクト: bmchun/sunset
 function token_select($arr, $limit)
 {
     $str = DbConn::table_select('token', $arr, $limit);
     $this->con = DbConn::initDb();
     return mysql_query($str, $this->con);
 }
コード例 #5
0
ファイル: KeyWord.php プロジェクト: bmchun/sunset
 function keyword_select()
 {
     $str = DbConn::table_select('keyword', null);
     $this->con = DbConn::initDb();
     return mysql_query($str, $this->con);
 }
コード例 #6
0
ファイル: Subject.php プロジェクト: bmchun/sunset
 function subject_select($arr, $limit)
 {
     $str = DbConn::table_select('Subject', $arr, $limit);
     $this->con = DbConn::initDb();
     return mysql_query($str, $this->con);
 }