易截截图软件、单文件、免安装、纯绿色、仅160KB

php 连接数据库 , 插入记录

         $username = "root";
         $password = "123";
         // 建立连接
         mysql_connect('localhost', $username, $password);
         // 选择连接数据库  
         mysql_select_db("test");
        // 插入数据
        mysql_query("insert into tb values (12)"); // 插入数据


相关文档:

php variable circular reference

 
Php Variable Circular References

Circular-references has been a long outstanding issue with PHP. They are
caused by the fact that PHP uses a reference counted memory allocation
mechanism for its internal variables. This causes problems for longer
running scripts (such as an Applicatio ......

php常用类整理

在实际开发过程会经常会遇到一些重复的操作,如果每次都要自己去实现这无疑加重了自己的工作量,下面对一些可能经常用到的类做个整理:
图表库
下面的类库可以让你很简单就能创建复杂的图表和图片。当然,它们需要GD库的支持。
pChart - 一个可以创建统计图的库。
Libchart - 这也是一个简单的统计图库。
JpGraph - 一 ......

php常用类整理

php常用类整理
时间:2009-12-19 20:45 来源:人力方 作者:syuanq 点击:548
在实际开发过程会经常会遇到一些重复的操作,如果每次都要自己去实现这无疑加重了自己的工作量,下面对一些可能经常用到的类做个整理:
图表库
下面的类库可以让你很简单就能创建复杂的图表和图片。当然,它们需要GD库的支持 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号