本文整理匯總了PHP中DBAccess::queryInsert方法的典型用法代碼示例。如果您正苦於以下問題:PHP DBAccess::queryInsert方法的具體用法?PHP DBAccess::queryInsert怎麽用?PHP DBAccess::queryInsert使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類DBAccess
的用法示例。
在下文中一共展示了DBAccess::queryInsert方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: Insert
public function Insert()
{
$insArray["catid"] = "Null";
$insArray["catname"] = $this->catname;
$insArray["catlink"] = $this->catname;
$insArray["status"] = $this->catstatus;
$itemid = DBAccess::queryInsert(self::$_tablename, $insArray);
return $itemid;
}
示例2: Insert
public function Insert()
{
$insArray["fb_userid"] = $this->fb_userid;
$insArray["fb_username"] = $this->fb_username;
$insArray["fb_firstname"] = $this->fb_firstname;
$insArray["fb_lastname"] = $this->fb_lastname;
$insArray["status"] = $this->status;
$fb_userid = DBAccess::queryInsert(self::$_tablename, $insArray);
return $fb_userid;
}
示例3: Insert
public function Insert()
{
$insArray["userid"] = "Null";
$insArray["f_name"] = $this->firstname;
$insArray["l_name"] = $this->lastname;
$insArray["company"] = $this->company;
$insArray["email"] = $this->email;
$insArray["password"] = $this->password;
$insArray["reg_date"] = $this->regdate;
$insArray["last_log"] = $this->lastlog;
$insArray["status"] = $this->status;
$insArray["act_code"] = $this->act_code;
$user_id = DBAccess::queryInsert(self::$_tablename, $insArray);
return $user_id;
}
示例4: Insert
public function Insert()
{
$insArray["itemid"] = null;
$insArray["catid"] = $this->catid;
$insArray["userid"] = $this->userid;
$insArray["name"] = $this->name;
$insArray["temp_img"] = $this->temp_img;
$insArray["desc"] = $this->desc;
$insArray["status"] = $this->status;
$user_id = DBAccess::queryInsert(self::$_tablename, $insArray);
return $user_id;
}