zoukankan      html  css  js  c++  java
  • 点击表头取下标&js时间转时间戳

    1.Date.parse(new Date("2017-7-31"));

    2.$("th").eq(this.cellIndex);  // 

    3.end($arr)取数组中的最后一个值。

    4.json_encode()必须为utf-8格式,其它格式的都返回null

    5.file_get_content()只能写入字符串

    6.extract()

    eg:

    <?php
    $a = "Original";
    $my_array = array("a" => "Cat","b" => "Dog", "c" => "Horse");
    extract($my_array);
    echo "\$a = $a; \$b = $b; \$c = $c"; //$a="cat";$b="dog"
    ?>

    7.mt_rand()比rand()效率高而且快。

  • 相关阅读:
    如何找回Oracle所有用户丢失的密码
    数据库范式详解
    lua
    cdn
    初心
    广州
    vim 命令
    git 命令
    Linux琐碎
    汪国真语录
  • 原文地址:https://www.cnblogs.com/Basu/p/7940234.html
Copyright © 2011-2022 走看看