用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 相关文章推荐
让你的网站首页自动选择语言转跳
Dec 06 PHP
PHP编码规范的深入探讨
Jun 06 PHP
php之CodeIgniter学习笔记
Jun 17 PHP
PHP Class&amp;Object -- 解析PHP实现二叉树
Jun 25 PHP
php curl基本操作详解
Jul 23 PHP
PHP函数eval()介绍和使用示例
Aug 20 PHP
PHP正则匹配日期和时间(时间戳转换)的实例代码
Dec 14 PHP
PHP的RSA加密解密方法以及开发接口使用
Feb 11 PHP
PHP实现的数组和XML文件相互转换功能示例
Mar 15 PHP
php经典趣味算法实例代码
Jan 21 PHP
laravel框架学习笔记之组件化开发实现方法
Feb 01 PHP
laravel与thinkphp之间的区别与优缺点
Mar 02 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
分享自定义的几个PHP功能函数
2015/04/15 PHP
Laravel最佳分割路由文件(routes.php)的方式
2016/08/04 PHP
js cookies实现简单统计访问次数
2009/11/24 Javascript
基于jquery的让页面控件不可用的实现代码
2010/04/27 Javascript
jquery 的 $(&quot;#id&quot;).html() 无内容的解决方法
2010/06/07 Javascript
JavaScript类型转换方法及需要注意的问题小结(挺全面)
2010/11/11 Javascript
『JavaScript』限制Input只能输入数字实现思路及代码
2013/04/22 Javascript
JQuery 操作/获取table具体代码
2013/06/13 Javascript
浅析js中2个等号与3个等号的区别
2013/08/06 Javascript
js实现固定显示区域内自动缩放图片的方法
2015/07/18 Javascript
JavaScript 是什么意思
2016/09/22 Javascript
JavaScript 监控微信浏览器且自带返回按钮时间
2016/11/27 Javascript
详解Vue.js入门环境搭建
2017/03/17 Javascript
利用babel将es6语法转es5的简单示例
2017/12/01 Javascript
webpack下实现动态引入文件方法
2018/02/22 Javascript
Mac下安装vue
2018/04/11 Javascript
JavaScript ES2019中的8个新特性详解
2019/02/20 Javascript
图解NodeJS实现登录注册功能
2019/09/16 NodeJs
JS基础之逻辑结构与循环操作示例
2020/01/19 Javascript
Python中apply函数的用法实例教程
2014/07/31 Python
Python使用Flask框架同时上传多个文件的方法
2015/03/21 Python
十个Python程序员易犯的错误
2015/12/15 Python
python 内置函数filter
2017/06/01 Python
PyQt5每天必学之滑块控件QSlider
2018/04/20 Python
flask中过滤器的使用详解
2018/08/01 Python
Python实现的简单线性回归算法实例分析
2018/12/26 Python
Python (Win)readline和tab补全的安装方法
2019/08/27 Python
使用Python的turtle模块画国旗
2019/09/24 Python
python绘制封闭多边形教程
2020/02/18 Python
护士的岗位职责
2013/12/04 职场文书
大学生实习思想汇报
2014/01/12 职场文书
文秘专业应届生求职信
2014/05/26 职场文书
企业文化理念标语
2014/06/10 职场文书
校庆标语集锦
2014/06/25 职场文书
2014年秘书工作总结
2014/11/25 职场文书
导游词之河姆渡遗址博物馆
2019/10/10 职场文书