用IE远程创建Mysql数据库的简易程序


Posted in PHP onOctober 09, 2006

小生近日来学习Mysql数据库,自己编写一个用IE远程创建Mysql数据库的简易程序,此程序适用与对Mysql数据库一无所知的人,可以轻松的创建Mysql数据库及数据库中的各种类型的表,而且完全是图形界面,你甚至可以一句sql语句都不知道,我编写的这个程序可能尚还十分简陋,在此我只想起一个抛砖引玉的作用,希望大家能不断完善此程序,做一个真正意义上的图形界面的Mysql管理器.
此程序共分两个文件:
mkdb.htm:搜集使用者信息,给下面的.php文件使用.
<HTML>
<HEAD>
<TITLE>MYSQL数据库创建单</TITLE>
</HEAD>
<BODY>
<FORM METHOD="POST" ACTION="MKDB.PHP">
<TABLE WIDTH=400 BORDER=1 CELLSPACING=0 CELLPADDING=0>
<TR>
    <TD ALIGN=CENTER COLSPAN=2>创建一个新的数据库</TD>
</TR>
<TR>
    <TD WIDTH=150 ALIGN=CENTER>请输入数据库名:</TD>
    <TD WIDTH=250 ALIGN=CENTER>
        <INPUT TYPE=TEST SIZE=30 VALUE=DATABASE NAME=DATABASENAME>
    </TD>
</TR>
<TR>
    <TD ALIGN=CENTER COLSPAN=2>
        <INPUT TYPE=SUBMIT VALUE=创建数据库 NAME=SWCODE>
    </TD>
</TR>
</TABLE>
</FORM>
<FORM METHOD="POST" ACTION="MKDB.PHP">
<TABLE WIDTH=400 BORDER=1 cellspacing=0 cellpadding=0>
<TR>
    <TD ALIGN=CENTER COLSPAN=2>删除一个已有的数据库</TD>
</TR>
<TR>
    <TD WIDTH=150 ALIGN=CENTER>请输入数据库名:</TD>
    <TD WIDTH=250 ALIGN=CENTER>
        <INPUT TYPE=TEST SIZE=30 VALUE=DATABASE NAME=DATABASENAME>
    </TD>
</TR>
<TR>
    <TD ALIGN=CENTER COLSPAN=2>
        <INPUT TYPE=SUBMIT VALUE=删除数据库 NAME=SWCODE>
    </TD>
</TR>
</TABLE>
</FORM>
<FORM METHOD="POST" ACTION="MKDB.PHP">
<TABLE WIDTH=500 BORDER=1 cellspacing=0 cellpadding=0>
<TR>
    <TD ALIGN=CENTER COLSPAN=2>在一个已有的数据库中创建表</TD>
</TR>
<TR>
    <TD WIDTH=150 ALIGN=CENTER>请输入数据库名:</TD>
    <TD WIDTH=350>
        <INPUT TYPE=TEST SIZE=30 VALUE=DATABASE NAME=DATABASENAME>
    </TD>
</TR>
<TR>
    <TD WIDTH=150 ALIGN=CENTER>请输入表名:</TD>
    <TD WIDTH=350>
        <INPUT TYPE=TEST SIZE=30 VALUE=TESTABLE NAME=TABLENAME>
    </TD>
</TR>
<TR>
    <TD ALIGN=CENTER COLSPAN=2>
        <TABLE WIDTH=500 BORDER=1 cellspacing=0 cellpadding=0>
        <TR>
            <TD WIDTH=75 ALIGN=CENTER>字段名</TD>
            <TD WIDTH=175 ALIGN=CENTER><INPUT TYPE=TEST SIZE=20 VALUE=IDX NAME=FIELDNAME[1]></TD>
            <TD WIDTH=75 ALIGN=CENTER>字段类型</TD>
            <TD WIDTH=175 ALIGN=CENTER>
            <SELECT NAME=TYPE[1] SIZE=1>
            <OPTION VALUE=INTEGER(10) SELECTED>普通整型</OPTION>
            <OPTION VALUE=TINYINT(3)>短整型</OPTION>
            <OPTION VALUE=FLOAT(10,4)>单精度浮点型</OPTION>
            <OPTION VALUE=DOUBLE(10,4)>双精度浮点型</OPTION>
            <OPTION VALUE=DATE>日期型</OPTION>
            <OPTION VALUE=VARCHAR(255)>可变字符型</OPTION>
            <OPTION VALUE=CHAR(20)>字符型(20个字符)</OPTION>
            </SELECT>
            </TD>
        </TR>
        <TR>
            <TD WIDTH=75 ALIGN=CENTER>字段名</TD>
            <TD WIDTH=175 ALIGN=CENTER><INPUT TYPE=TEST SIZE=20 NAME=FIELDNAME[2]></TD>
            <TD WIDTH=75 ALIGN=CENTER>字段类型</TD>
            <TD WIDTH=175 ALIGN=CENTER>
            <SELECT NAME=TYPE[2] SIZE=1>
            <OPTION VALUE=INTEGER(10)>普通整型</OPTION>
            <OPTION VALUE=TINYINT(3)>短整型</OPTION>
            <OPTION VALUE=FLOAT(10,4)>单精度浮点型</OPTION>
            <OPTION VALUE=DOUBLE(10,4)>双精度浮点型</OPTION>
            <OPTION VALUE=DATE>日期型</OPTION>
            <OPTION VALUE=VARCHAR(255)>可变字符型</OPTION>
            <OPTION VALUE=CHAR(20)>字符型(20个字符)</OPTION>
            <OPTION VALUE=NONE SELECTED>空字段</OPTION>
            </SELECT>
            </TD>
        </TR>
        <TR>
            <TD WIDTH=75 ALIGN=CENTER>字段名</TD>
            <TD WIDTH=175 ALIGN=CENTER><INPUT TYPE=TEST SIZE=20 NAME=FIELDNAME[3]></TD>
            <TD WIDTH=75 ALIGN=CENTER>字段类型</TD>
            <TD WIDTH=175 ALIGN=CENTER>
            <SELECT NAME=TYPE[3] SIZE=1>
            <OPTION VALUE=INTEGER(10)>普通整型</OPTION>
            <OPTION VALUE=TINYINT(3)>短整型</OPTION>
            <OPTION VALUE=FLOAT(10,4)>单精度浮点型</OPTION>
            <OPTION VALUE=DOUBLE(10,4)>双精度浮点型</OPTION>
            <OPTION VALUE=DATE>日期型</OPTION>
            <OPTION VALUE=VARCHAR(255)>可变字符型</OPTION>
            <OPTION VALUE=CHAR(20)>字符型(20个字符)</OPTION>
            <OPTION VALUE=NONE SELECTED>空字段</OPTION>
            </SELECT>
            </TD>
        </TR>
        <TR>
            <TD WIDTH=75 ALIGN=CENTER>字段名</TD>
            <TD WIDTH=175 ALIGN=CENTER><INPUT TYPE=TEST SIZE=20 NAME=FIELDNAME[4]></TD>
            <TD WIDTH=75 ALIGN=CENTER>字段类型</TD>
            <TD WIDTH=175 ALIGN=CENTER>
            <SELECT NAME=TYPE[4] SIZE=1>
            <OPTION VALUE=INTEGER(10)>普通整型</OPTION>
            <OPTION VALUE=TINYINT(3)>短整型</OPTION>
            <OPTION VALUE=FLOAT(10,4)>单精度浮点型</OPTION>
            <OPTION VALUE=DOUBLE(10,4)>双精度浮点型</OPTION>
            <OPTION VALUE=DATE>日期型</OPTION>
            <OPTION VALUE=VARCHAR(255)>可变字符型</OPTION>
            <OPTION VALUE=CHAR(20)>字符型(20个字符)</OPTION>
            <OPTION VALUE=NONE SELECTED>空字段</OPTION>
            </SELECT>
            </TD>
        </TR>
        <TR>
            <TD WIDTH=75 ALIGN=CENTER>字段名</TD>
            <TD WIDTH=175 ALIGN=CENTER><INPUT TYPE=TEST SIZE=20 NAME=FIELDNAME[5]></TD>
            <TD WIDTH=75 ALIGN=CENTER>字段类型</TD>
            <TD WIDTH=175 ALIGN=CENTER>
            <SELECT NAME=TYPE[5] SIZE=1>
            <OPTION VALUE=INTEGER(10)>普通整型</OPTION>
            <OPTION VALUE=TINYINT(3)>短整型</OPTION>
            <OPTION VALUE=FLOAT(10,4)>单精度浮点型</OPTION>
            <OPTION VALUE=DOUBLE(10,4)>双精度浮点型</OPTION>
            <OPTION VALUE=DATE>日期型</OPTION>
            <OPTION VALUE=VARCHAR(255)>可变字符型</OPTION>
            <OPTION VALUE=CHAR(20)>字符型(20个字符)</OPTION>
            <OPTION VALUE=NONE SELECTED>空字段</OPTION>
            </SELECT>
            </TD>
        </TR>
        <TR>
            <TD WIDTH=75 ALIGN=CENTER>字段名</TD>
            <TD WIDTH=175 ALIGN=CENTER><INPUT TYPE=TEST SIZE=20 NAME=FIELDNAME[6]></TD>
            <TD WIDTH=75 ALIGN=CENTER>字段类型</TD>
            <TD WIDTH=175 ALIGN=CENTER>
            <SELECT NAME=TYPE[6] SIZE=1>
            <OPTION VALUE=INTEGER(10)>普通整型</OPTION>
            <OPTION VALUE=TINYINT(3)>短整型</OPTION>
            <OPTION VALUE=FLOAT(10,4)>单精度浮点型</OPTION>
            <OPTION VALUE=DOUBLE(10,4)>双精度浮点型</OPTION>
            <OPTION VALUE=DATE>日期型</OPTION>
            <OPTION VALUE=VARCHAR(255)>可变字符型</OPTION>
            <OPTION VALUE=CHAR(20)>字符型(20个字符)</OPTION>
            <OPTION VALUE=NONE SELECTED>空字段</OPTION>
            </SELECT>
            </TD>
        </TR>
        <TR>
            <TD WIDTH=75 ALIGN=CENTER>字段名</TD>
            <TD WIDTH=175 ALIGN=CENTER><INPUT TYPE=TEST SIZE=20 NAME=FIELDNAME[7]></TD>
            <TD WIDTH=75 ALIGN=CENTER>字段类型</TD>
            <TD WIDTH=175 ALIGN=CENTER>
            <SELECT NAME=TYPE[7] SIZE=1>
            <OPTION VALUE=INTEGER(10)>普通整型</OPTION>
            <OPTION VALUE=TINYINT(3)>短整型</OPTION>
            <OPTION VALUE=FLOAT(10,4)>单精度浮点型</OPTION>
            <OPTION VALUE=DOUBLE(10,4)>双精度浮点型</OPTION>
            <OPTION VALUE=DATE>日期型</OPTION>
            <OPTION VALUE=VARCHAR(255)>可变字符型</OPTION>
            <OPTION VALUE=CHAR(20)>字符型(20个字符)</OPTION>
            <OPTION VALUE=NONE SELECTED>空字段</OPTION>
            </SELECT>
            </TD>
        </TR>
        <TR>
            <TD WIDTH=75 ALIGN=CENTER>字段名</TD>
            <TD WIDTH=175 ALIGN=CENTER><INPUT TYPE=TEST SIZE=20 NAME=FIELDNAME[8]></TD>
            <TD WIDTH=75 ALIGN=CENTER>字段类型</TD>
            <TD WIDTH=175 ALIGN=CENTER>
            <SELECT NAME=TYPE[8] SIZE=1>
            <OPTION VALUE=INTEGER(10)>普通整型</OPTION>
            <OPTION VALUE=TINYINT(3)>短整型</OPTION>
            <OPTION VALUE=FLOAT(10,4)>单精度浮点型</OPTION>
            <OPTION VALUE=DOUBLE(10,4)>双精度浮点型</OPTION>
            <OPTION VALUE=DATE>日期型</OPTION>
            <OPTION VALUE=VARCHAR(255)>可变字符型</OPTION>
            <OPTION VALUE=CHAR(20)>字符型(20个字符)</OPTION>
            <OPTION VALUE=NONE SELECTED>空字段</OPTION>
            </SELECT>
            </TD>
        </TR>
        <TR>
            <TD WIDTH=75 ALIGN=CENTER>字段名</TD>
            <TD WIDTH=175 ALIGN=CENTER><INPUT TYPE=TEST SIZE=20 NAME=FIELDNAME[9]></TD>
            <TD WIDTH=75 ALIGN=CENTER>字段类型</TD>
            <TD WIDTH=175 ALIGN=CENTER>
            <SELECT NAME=TYPE[9] SIZE=1>
            <OPTION VALUE=INTEGER(10)>普通整型</OPTION>
            <OPTION VALUE=TINYINT(3)>短整型</OPTION>
            <OPTION VALUE=FLOAT(10,4)>单精度浮点型</OPTION>
            <OPTION VALUE=DOUBLE(10,4)>双精度浮点型</OPTION>
            <OPTION VALUE=DATE>日期型</OPTION>
            <OPTION VALUE=VARCHAR(255)>可变字符型</OPTION>
            <OPTION VALUE=CHAR(20)>字符型(20个字符)</OPTION>
            <OPTION VALUE=NONE SELECTED>空字段</OPTION>
            </SELECT>
            </TD>
        </TR>
        <TR>
            <TD WIDTH=75 ALIGN=CENTER>字段名</TD>
            <TD WIDTH=175 ALIGN=CENTER><INPUT TYPE=TEST SIZE=20 NAME=FIELDNAME[10]></TD>
            <TD WIDTH=75 ALIGN=CENTER>字段类型</TD>
            <TD WIDTH=175 ALIGN=CENTER>
            <SELECT NAME=TYPE[10] SIZE=1>
            <OPTION VALUE=INTEGER(10)>普通整型</OPTION>
            <OPTION VALUE=TINYINT(3)>短整型</OPTION>
            <OPTION VALUE=FLOAT(10,4)>单精度浮点型</OPTION>
            <OPTION VALUE=DOUBLE(10,4)>双精度浮点型</OPTION>
            <OPTION VALUE=DATE>日期型</OPTION>
            <OPTION VALUE=VARCHAR(255)>可变字符型</OPTION>
            <OPTION VALUE=CHAR(20)>字符型(20个字符)</OPTION>
            <OPTION VALUE=NONE SELECTED>空字段</OPTION>
            </SELECT>
            </TD>
        </TR>
        </TABLE>
    </TD>
</TR>
<TR>
    <TD ALIGN=CENTER COLSPAN=2>
        <INPUT TYPE=SUBMIT VALUE=创建表 NAME=SWCODE>
    </TD>
</TR>
</TABLE>
</FORM>
<FORM METHOD="POST" ACTION="MKDB.PHP">
<TABLE WIDTH=400 BORDER=1 CELLSPACING=0 CELLPADDING=0>
<TR>
    <TD ALIGN=CENTER COLSPAN=2>删除一张已有的表</TD>
</TR>
<TR>
    <TD WIDTH=150 ALIGN=CENTER>请输入数据库名:</TD>
    <TD WIDTH=250 ALIGN=CENTER>
        <INPUT TYPE=TEST SIZE=30 VALUE=DATABASE NAME=DATABASENAME>
    </TD>
</TR>
<TR>
    <TD WIDTH=150 ALIGN=CENTER>请输入表格名称:</TD>
    <TD WIDTH=250 ALIGN=CENTER>
        <INPUT TYPE=TEST SIZE=30 VALUE=TESTABLE NAME=TABLENAME>
    </TD>
</TR>
<TR>
    <TD ALIGN=CENTER COLSPAN=2>
        <INPUT TYPE=SUBMIT VALUE=删除表 NAME=SWCODE>
    </TD>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>

mkdb.php:通过函数联系mysql.

<HTML>
<HEAD>
<TITLE>MYSQL数据库创建结果</TITLE>
<?php
function showdb($result)
{
    echo "<CENTER><TABLE BORDER=1 WIDTH=350 CELLSPACING=0 CELLPADDING=0>
    <TR>
        <TD WIDTH=100 ALIGN=CENTER>数据库序号</TD>
        <TD WIDTH=250 ALIGN=CENTER>数据库名</TD>
    </TR>";$i=0;
    while($row=mysql_fetch_array($result))
    {
        $i=$i+1;
        echo "<TR><TD WIDTH=100 ALIGN=CENTER>$i</TD>";
        echo "<TD WIDTH=250 ALIGN=CENTER>";
        echo $row["Database"];
        echo "</TD></TR></CENTER>";
    }
}
function showcol($result)
{
    echo "<CENTER><TABLE BORDER=1 WIDTH=350 CELLSPACING=0 CELLPADDING=0>
    <TR>
        <TD WIDTH=100 ALIGN=CENTER>字段名</TD>
        <TD WIDTH=250 ALIGN=CENTER>字段类型</TD>
    </TR>";$i=0;
    while($row=mysql_fetch_array($result))
    {
        echo "<TR><TD WIDTH=100 ALIGN=CENTER>";
        echo $row["Field"];
        echo "</TD>";
        echo "<TD WIDTH=250 ALIGN=CENTER>";
        echo $row["Type"];
        echo "</TD></TR></CENTER>";
    }
}
function showtab($result,$DATABASENAME)
{
    echo "<CENTER><TABLE BORDER=1 WIDTH=350 CELLSPACING=0 CELLPADDING=0>
    <TR>
        <TD WIDTH=100 ALIGN=CENTER>表格序号</TD>
        <TD WIDTH=250 ALIGN=CENTER>表格名称</TD>
    </TR>";$i=0;
    while($row=mysql_fetch_array($result))
    {
        $i=$i+1;
        echo "<TR><TD WIDTH=100 ALIGN=CENTER>$i</TD>";
        echo "<TD WIDTH=250 ALIGN=CENTER>";
        echo $row["Tables_in_".$DATABASENAME];
        echo "</TD></TR></CENTER>";
    }
}
function creatdb($dbname)
{
    $result=mysql_create_db($dbname);
    if ($result){
        echo "<CENTER><TABLE BORDER=0 WIDTH=350 CELLSPACING=0 CELLPADDING=0><TR><TD ALIGN=CENTER>";
        echo "<H4>$dbname 创建成功!</H4>";
        echo "</TD></TR></TABLE></CENTER>";}
    else{
        echo "<CENTER><TABLE BORDER=0 WIDTH=350 CELLSPACING=0 CELLPADDING=0><TR><TD ALIGN=CENTER>";
        echo "<H4>创建失败!</H4>";
        echo "</TD></TR></TABLE></CENTER>";}
}
function dropdb($dbname)
{
    $result=mysql_drop_db($dbname);
    if ($result){
        echo "<CENTER><TABLE BORDER=0 WIDTH=350 CELLSPACING=0 CELLPADDING=0><TR><TD ALIGN=CENTER>";
        echo "<H4>$dbname 成功删除!</H4>";
        echo "</TD></TR></TABLE></CENTER>";}
    else{
        echo "<CENTER><TABLE BORDER=0 WIDTH=350 CELLSPACING=0 CELLPADDING=0><TR><TD ALIGN=CENTER>";
        echo "<H4>删除失败!</H4>";
        echo "</TD></TR></TABLE></CENTER>";}
}
?>
</HEAD>
<BODY>
<CENTER><H3>数据库创建结果如下:</H3></CENTER>
<?php
$result=mysql_connect();
switch($SWCODE){
    case '创建数据库':
        creatdb($DATABASENAME);
        echo "<CENTER><H4>目前数据库列表如下:</H4></BR></CENTER>";
        $result=mysql_list_dbs();
        showdb($result);
        break;
    case '删除数据库':
        dropdb($DATABASENAME);
        echo "<CENTER><H4>目前数据库列表如下:</H4></BR></CENTER>";
        $result=mysql_list_dbs();
        showdb($result);
        break;
    case '创建表':
        if (mysql_select_db($DATABASENAME))
        {
            if (mysql_db_query($DATABASENAME,"select * from $TABLENAME"))
                echo "<H4><CENTER>在数据库: $DATABASENAME 中已存在 $TABLENAME 表。请检查表名称!</CENTER></H4>";
            else
            {
                $string="CREATE TABLE ".$TABLENAME."(";
                if ($TYPE[1]<>"NONE")    $string=$string.$FIELDNAME[1]." ".$TYPE[1];
                for($i=2;$i<=10;$i++)
                {
                    if ($TYPE[$i]<>"NONE")    $string=$string.",".$FIELDNAME[$i]." ".$TYPE[$i];
                }
                $string=$string.")";
                $result=mysql_db_query($DATABASENAME,"$string");
                if ($result)
                {
                    echo  "<H4><CENTER>成功的在数据库: $DATABASENAME 中创建 $TABLENAME 表!</CENTER></H4>";
                    $result=mysql_db_query($DATABASENAME,"SHOW COLUMNS FROM $TABLENAME");
                    showcol($result);
                }
                else
                {
                    echo "<H4><CENTER>在数据库: $DATABASENAME 中创建 $TABLENAME 表的动作失败!请检查原因!</CENTER></H4>";
                }
            }
        }
        else
            echo "<CENTER><H4>此数据库不存在!请检查数据库名。</H4></BR></CENTER>";
        $result=mysql_db_query($DATABASENAME,"SHOW TABLES");
        if ($result)
        {
            echo "<CENTER><H5>在".$DATABASENAME."中已存在的表格如下所示:</H5></CENTER>";
            showtab($result,$DATABASENAME);
        }
        break;
    case '删除表':
        if (mysql_select_db($DATABASENAME))
        {
            $result=mysql_db_query($DATABASENAME,"DROP TABLE $TABLENAME");
            if ($result)
            {
                echo "<CENTER><H3>已成功的在数据库".$DATABASENAME."中将表".$TABLENAME."删除</CENTER></H3>";
                $result=mysql_db_query($DATABASENAME,"SHOW TABLES");             
                if ($result)
                {
                    echo "<CENTER><H5>在".$DATABASENAME."中已存在的表格如下所示:</H5></CENTER>";
                    showtab($result,$DATABASENAME);
                }
            }
            else
            {
                echo "<CENTER><H3>在数据库".$DATABASENAME."中未将表".$TABLENAME."删除!</CENTER></H3>";
                $result=mysql_db_query($DATABASENAME,"SHOW TABLES");             
                if ($result)
                {
                    echo "<CENTER><H5>在".$DATABASENAME."中已存在的表格如下所示:</H5></CENTER>";
                    showtab($result,$DATABASENAME);
                }
            }
        }
        else
            echo "<CENTER><H3>数据库".$DATABASENAME."不存在!</H3></CENTER>";
        break;
    default:
        echo "<center><h2>你什么事都没干!</h2></center>";
        break;
}
?>
</BODY>
</HTML>

使用时,需将着两个文件分别放到Apache的访问目录下,并用IE访问mkdb.html便可.

PHP 相关文章推荐
一个简单计数器的源代码
Oct 09 PHP
《PHP边学边教》(01.开篇――准备工作)
Dec 13 PHP
封装一个PDO数据库操作类代码
Sep 09 PHP
php用header函数实现301跳转代码实例
Nov 25 PHP
php判断当前操作系统类型
Oct 28 PHP
PHP入门教程之数学运算技巧总结
Sep 11 PHP
PHP中串行化用法示例
Nov 16 PHP
php 使用curl模拟ip和来源进行访问的实现方法
May 02 PHP
php-beanstalkd消息队列类实例分享
Jul 19 PHP
PHP中递归的实现实例详解
Nov 14 PHP
Laravel Intervention/image图片处理扩展包的安装、使用与可能遇到的坑详解
Nov 14 PHP
Yii2框架视图(View)操作及Layout的使用方法分析
May 27 PHP
PHP使用者状态管理功能的应用
Oct 09 #PHP
PHP安全编程之加密功能
Oct 09 #PHP
PHP中的加密功能
Oct 09 #PHP
PHP编程网上资源导航
Oct 09 #PHP
如何使用动态共享对象的模式来安装PHP
Oct 09 #PHP
PHP开发文件系统实例讲解
Oct 09 #PHP
PHP动态图像的创建
Oct 09 #PHP
You might like
全国FM电台频率大全 - 28 甘肃省
2020/03/11 无线电
linux下实现定时执行php脚本
2015/02/13 PHP
php微信公众号开发(3)php实现简单微信文本通讯
2016/12/15 PHP
thinkphp查询,3.X 5.0方法(亲试可行)
2017/06/17 PHP
yii2.0整合阿里云oss上传单个文件的示例
2017/09/19 PHP
对php 判断http还是https,以及获得当前url的方法详解
2019/01/15 PHP
几个常用的JavaScript字符串处理函数 - split()、join()、substring()和indexOf()
2009/06/02 Javascript
javascript递归回溯法解八皇后问题
2015/04/22 Javascript
JavaScript实现自动弹出窗口并自动关闭窗口的方法
2015/08/06 Javascript
jQuery插件Easyui设置datagrid的pageNumber导致两次请求问题的解决方法
2016/08/06 Javascript
用js实现博客打赏功能
2016/10/24 Javascript
基于jQuery实现瀑布流页面
2017/04/11 jQuery
jquery Form轻松实现文件上传
2017/05/24 jQuery
js每隔两秒输出数组中的一项(实例)
2017/05/28 Javascript
JavaScript对JSON数据进行排序和搜索
2017/07/24 Javascript
DVA框架统一处理所有页面的loading状态
2017/08/25 Javascript
Vue-cli中为单独页面设置背景色的实现方法
2018/02/11 Javascript
js构建二叉树进行数值数组的去重与优化详解
2018/03/26 Javascript
仿iPhone通讯录制作小程序自定义选择组件的实现
2019/05/23 Javascript
微信小程序scroll-view实现滚动到锚点左侧导航栏点餐功能(点击种类,滚动到锚点)
2020/06/11 Javascript
Python基于Socket实现的简单聊天程序示例
2017/08/05 Python
Python实现PS图像调整颜色梯度效果示例
2018/01/25 Python
Python爬虫小技巧之伪造随机的User-Agent
2018/09/13 Python
Python字典的核心底层原理讲解
2019/01/24 Python
python利用Opencv实现人脸识别功能
2019/04/25 Python
解决python -m pip install --upgrade pip 升级不成功问题
2020/03/05 Python
python3 kubernetes api的使用示例
2021/01/12 Python
VSCode中autopep8无法运行问题解决方案(提示Error: Command failed,usage)
2021/03/02 Python
欧洲最古老的鞋厂:Peter Kaiser
2019/11/05 全球购物
家得宝墨西哥官网:The Home Depot墨西哥
2019/11/18 全球购物
副总经理党的群众路线教育实践活动个人对照检查材料思想汇报
2014/10/06 职场文书
2014年终个人工作总结
2014/11/07 职场文书
新员工考核评语
2014/12/31 职场文书
GoLang中生成UUID唯一标识的实现
2021/05/08 Golang
Python 循环读取数据内存不足的解决方案
2021/05/25 Python
MySQL中VARCHAR与CHAR格式数据的区别
2021/05/26 MySQL