![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PHP
huacuilaifa
这个作者很懒,什么都没留下…
展开
-
PHP与mysql建立连接
1、php.ini加载mysql组件: a、extension_mysql.dll 前的;去掉 b、extension_dir=""路径正确 2、PHP连接mysql函数 mysql_connect:开启mysql连接 mysql_connect("主机名","用户名","密码") mysql_select_db:打开数据库 mysql_select_db("打开数据库", 连原创 2013-03-14 20:00:22 · 920 阅读 · 0 评论 -
easyeclipse for php 如何默认显示行号
window->preferences->PHPeclipse web development->php 然后找到appearance选项卡 在 show line numbers前面打钩就行了.原创 2013-03-14 21:21:28 · 2394 阅读 · 0 评论 -
PHP模板引擎Smarty
目的是要使用PHP程序同美工分离 1、Smarty的配置 :smarty_inc.php <?php include_once("Smarty/Smarty.class.php");//包含smarty类文件 $smarty = new Smarty(); $smarty->config_dir = "smarty/SmartyBC.class.php"; $smarty->templa原创 2013-05-30 11:01:24 · 753 阅读 · 0 评论