- 博客(18)
- 资源 (3)
- 收藏
- 关注
原创 laravel
*****01*****1.登陆mysql -u root -p2.使用数据库use mysqluse命令格式: use ;3.查看数据库中的表show tables;4.查找 select user,host,password from user;select命令格式 select ,,……, from ;5.更新数据项update user
2015-03-28 18:45:52
502
转载 php中global与$GLOBAL的用法及区别 【2011-9-2】
php中global与$GLOBAL的用法及区别 【2011-9-2】php中global 与 $GLOBALS[""] 差别 原本觉得global和$GLOBALS除了写法不一样觉得,其他都一样,可是在实际利用中发现2者的差别还是很大的!先看下面的例子:PHP代码 // 例子1 function test_global() { global $var1
2014-07-04 02:59:10
416
转载 php扩展的依赖关系
php_bz2.dll bzip2 压缩函数库 无php_calendar.dll 历法转换函数库 自 PHP 4.0.3 起内置php_cpdf.dll ClibPDF 函数库 无php_crack.dll 密码破解函数库 无php_ctype.dll ctype 家族函数库 自 PHP 4.3.0 起内置php_curl.dll CURL,客户端 URL 库函数库 需要:l
2014-06-27 22:18:22
469
原创 练习
<?php//无限遍历多维数组$myarr=array("1", "2", array( array("(a)","(b)"), array("A","B","C"), "(c)"), "3", array("a","b"));function traverse_array(array $arr){ foreach($arr as $
2014-06-22 06:51:01
376
转载 css选择器 描述
选择器 描述[attribute] 用于选取带有指定属性的元素。 [attribute=value] 用于选取带有指定属性和值的元素。 [attribute~=value] 用于选取属性值中包含指定词汇的元素。 [attribute|=value] 用于选取带有以指定值开头的属性值的元素,该值必须是整个单词。 [attribute^=value] 匹配属性值以指定值开头的每
2014-05-13 00:57:03
419
原创 遍历文件夹
<?php $path="F:/php/worksapce/test/f";#$path="f:/"; function F($x){ $arr = scandir($x);foreach ($arr as $a){ if(is_dir($x."/".$a) && $a!='..'&& $a!='.') { echo $x."/".$a.""; F($b=$x."/"
2014-04-25 20:29:25
297
原创 乘法表
for ($i=1;$i<=9;$i++){ echo ""; for ($j=1;$j<=$i;$j++) { echo "$j*$i="; echo $i*$j; echo " "; }}
2014-04-24 11:15:45
357
原创 MySQL 笔记
启动MySQL服务:1.cmd---services.msc ; 2. cmd---"net start mysql (net stop mysql) " . (mysql 对应服务器名字).登录MySQL数据库: 1.windows方式登录:"mysql -h hostname -u usename -p". 2.使用MySQL Commande Line Client 登录;
2014-01-09 09:39:11
623
转载 c#拖动无状态栏窗体
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using Aptech.UI;name
2013-12-07 03:40:30
384
原创 web跨页传值(公共属性法)
default.aspx 无标题页 #form1 { height: 277px; } 红色 蓝色 绿色 LinkButton default.aspx.csusing Syst
2013-12-03 17:01:02
603
原创 Oracle
一、Oracle 公司及OCP认证介绍:Oracle公司是全球最大的企业软件服务商,在40个产品市场领域排名第一,在IT行业,超过60%以上的IT岗位都要求掌握一定的Oracle技术,特别是企业常用的像Java、MySQL、Oracle数据库、Linux(Oracle)、EBS(Oracle ERP)等技术。 Oracle数据库是Oracle公司核心的技术,在数据库市场上的占有率超
2013-12-03 16:54:46
399
原创 c#线程Lock
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Thr
2013-11-30 20:48:42
378
原创 c#启动一个计算器进程
using System.Diagnostics;using System.Threading;namespace CProcess{ public partial class Form1 : Form { public Form1() { InitializeComponent(); }
2013-11-30 16:27:58
998
原创 用@方式插入多条数据到数据库/dataAdatper多条数据一次提交
public void updataBook(DataSet ds) { SqlCommand cmd = new SqlCommand("insert into Tbook(isbn,bookname,value)values(@isbn,@bookname,@value)",cn); cmd.Parameters.Add("@is
2013-11-12 23:37:27
368
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人