亚洲欧美日韩国产综合在线_国产av无码专区亚洲av桃花庵_亚洲国产欧美在线看片一国产_久久精品国产亚洲Aⅴ香蕉

thinkphp6定義獲取器獲取狀態字段

php程序中狀態欄一般會用1和0表示,當讀取數據的時候顯示0和1當然是不行的。<?php namespace app\common\model; use app\admin\model\Admin; protected $append = [

技術雜談 2021-03-20 2412瀏覽

thinkphp6自定義title標簽

thinkphp6自定義標簽public function tagTitle() {     $parse = '<?php ';     $

技術雜談 2021-03-20 3707瀏覽

thinkphp6如何判斷查詢結果為空

thinkphp6判斷是否為空有兩種情況第一種model->find() //這種情況 如何沒有查詢到直接就返回null很好判斷第二種$result = model->select() // 這種情況返回的是一個模型 if&nb

技術雜談 2021-03-18 3409瀏覽

PHP如何使用mysql_connect鏈接MYSQL數據庫

php基本的鏈接mysql數據庫在函數為$c = mysql_connect("localhost","root","password");連上數據庫后,選擇數據庫$db = mysql_select

前端技術 2021-03-17 2835瀏覽

thinkphp6如何記錄百度等蜘蛛的爬取日志

thinkphp6記錄百度蜘蛛日志。在控制器的父類如IndexBase中寫入以下代碼,所有前端控制器繼承這個控制器  public function initialize()     {   &nb

技術雜談 2021-03-17 2516瀏覽

通過js動態控制viewport標簽的initial-scale屬性

viewport的initial-scale屬性是控制瀏覽器縮放比例的,但是有時候想要適應不同大小屏幕的縮放例如:當width設置為固定值的時候,屏幕動態控制縮放可以完美解決讓頁面1:1的顯示在可視屏幕中    <meta name=&quot

前端技術 2021-03-17 3735瀏覽

js獲取屏幕高度和寬度

網頁可見區域寬: document.body.clientWidth網頁可見區域高: document.body.clientHeight網頁可見區域寬: document.body.offsetWidth (包括邊線的寬)網頁可見區域高: document.body.offsetHeight (包

前端技術 2021-03-17 2445瀏覽

js獲取當前時間,并實時變化

<!DOCTYPE html> <html> <head>     <meta charset="UTF-8">     <

前端技術 2021-03-17 2481瀏覽
亚洲欧美日韩国产综合在线_国产av无码专区亚洲av桃花庵_亚洲国产欧美在线看片一国产_久久精品国产亚洲Aⅴ香蕉
<button id="g80sy"></button>
  • <abbr id="g80sy"></abbr>
  • <button id="g80sy"></button>
    <rt id="g80sy"><delect id="g80sy"></delect></rt>
  • | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |