首页 > 其他 > 详细

项目相关

时间:2014-06-06 20:18:07      阅读:353      评论:0      收藏:0      [点我收藏+]

my_name
XB
ID
ADDRESS
tel
qq
note

//显示表所有的项的自断的类型和大小
mysql> show full columns from hdxcy_info;
+-----------+--------------+-------------------+------+-----+---------+------
--------------------------------+---------+
| Field | Type | Collation | Null | Key | Default | Extra
Privileges | Comment |
+-----------+--------------+-------------------+------+-----+---------+------
--------------------------------+---------+
| XcyName | varchar(18) | gb2312_chinese_ci | NO | PRI | NULL |
select,insert,update,references | |
| sex | varchar(4) | gb2312_chinese_ci | NO | | NULL |
select,insert,update,references | |
| ID | varchar(20) | gb2312_chinese_ci | NO | | NULL |
select,insert,update,references | |
| address | varchar(100) | gb2312_chinese_ci | NO | | NULL |
select,insert,update,references | |
| Telephone | varchar(20) | gb2312_chinese_ci | NO | | NULL |
select,insert,update,references | |
| QQ | varchar(15) | gb2312_chinese_ci | YES | | NULL |
select,insert,update,references | |
| beizhu | varchar(50) | gb2312_chinese_ci | YES | | NULL |
select,insert,update,references | |
+-----------+--------------+-------------------+------+-----+---------+------
--------------------------------+---------+
7 rows in set (0.26 sec)

mysql>

 //蓝色部分解决了:以图片做按钮提交表单数据的问题

<input type="image" src="image/tj.gif" onClick="check()">

<script language="javascript">
function check()
{
document.form.submit();
}
</script>

项目相关,布布扣,bubuko.com

项目相关

原文:http://www.cnblogs.com/yuhuameng/p/3766024.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!