<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>年年有&quot;余&quot; - PHP/MySql</title>
    <link>https://www.yusian.com/bbs/forum-php-1.html</link>
    <description>Latest 20 threads of PHP/MySql</description>
    <copyright>Copyright(C) 年年有&quot;余&quot;</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Wed, 22 Apr 2026 10:13:53 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://www.yusian.com/bbs/static/image/common/logo_88_31.gif</url>
      <title>年年有&quot;余&quot;</title>
      <link>https://www.yusian.com/bbs/</link>
    </image>
    <item>
      <title>缘信IM社交聊天即时通讯源码出售转让</title>
      <link>https://www.yusian.com/bbs/thread-11237-1-1.html</link>
      <description><![CDATA[缘信IM社交聊天即时通讯源码出售转让




Android端+iOS端+服务端+PC端+web+H5
全平台源代码，全行业最低价，火爆出售中
支持万人大群，系统并发量大，性能超稳定，已经过上百家客户使用验证
架构成熟，成品稳定系统，可直接上线使用
支持二次开发，大量节约成本， ...]]></description>
      <category>PHP/MySql</category>
      <author>dfghj</author>
      <pubDate>Thu, 16 Jul 2020 05:10:52 +0000</pubDate>
    </item>
    <item>
      <title>SQL语句分类</title>
      <link>https://www.yusian.com/bbs/thread-11228-1-1.html</link>
      <description><![CDATA[1、DDL（data defination language）数据定义语言

[*]创建、删除、修改库表结构
2、DML（data manipulation language）数据操作语言

[*]增删改表的记录
3、DCL（data control language）数据控制语言

[*]用户的创建以及授权
4、DQL（data query language）数据查询语 ...]]></description>
      <category>PHP/MySql</category>
      <author>Sian</author>
      <pubDate>Sun, 21 Apr 2019 10:08:09 +0000</pubDate>
    </item>
    <item>
      <title>mysql中字符编码问题</title>
      <link>https://www.yusian.com/bbs/thread-11227-1-1.html</link>
      <description><![CDATA[[*]查看当前编码方式，show variables like ‘%char%’;
[*]设置当前操作及显示编码方式 set names utf8;
[*]修改xxx表的默认字符集：alter table xxx default character set utf8;
[*]修改数据库xxx默认字符集：alter database xxx default character set utf8;
[*]修 ...]]></description>
      <category>PHP/MySql</category>
      <author>Sian</author>
      <pubDate>Sun, 21 Apr 2019 10:07:43 +0000</pubDate>
    </item>
    <item>
      <title>drop、delete、truncate的区别</title>
      <link>https://www.yusian.com/bbs/thread-11226-1-1.html</link>
      <description><![CDATA[[*]整个表删除使用drop table xxx；
[*]删除表中所有数据使用truncate xxx，效果相当于delete from xxx，不同的是truncate会复位自增字段的值;
[*]删除表中部分数据使用delete from xxx where；]]></description>
      <category>PHP/MySql</category>
      <author>Sian</author>
      <pubDate>Sun, 21 Apr 2019 10:07:27 +0000</pubDate>
    </item>
    <item>
      <title>修改数据库用户密码的三种方式</title>
      <link>https://www.yusian.com/bbs/thread-11225-1-1.html</link>
      <description><![CDATA[1、在mysql数据库的user表中修改对应数据
[*]update user set authentication_string = password(‘******’) where user = ‘root\'
2、使用mysqladmin修改

[*]mysqladmin -uroot -pxxxx password ‘xxxxxx\'
3、使用sudo mysqld —skip-grant-tables命令

[*]绕过密码 ...]]></description>
      <category>PHP/MySql</category>
      <author>Sian</author>
      <pubDate>Sun, 21 Apr 2019 10:07:10 +0000</pubDate>
    </item>
    <item>
      <title>Ubuntu mysql首次登录root密码</title>
      <link>https://www.yusian.com/bbs/thread-11223-1-1.html</link>
      <description><![CDATA[1、在Ubuntu上安装mysql

2、登录mysql时使用root用户，默认密码为空；
[mw_shl_code=bash,true]parallels@ubuntu:~$ mysql -uroot -p
Enter password:
ERROR 1698 (28000): Access de ...]]></description>
      <category>PHP/MySql</category>
      <author>Sian</author>
      <pubDate>Fri, 19 Apr 2019 06:30:29 +0000</pubDate>
    </item>
    <item>
      <title>全国所有城市编码表下载</title>
      <link>https://www.yusian.com/bbs/thread-11162-1-1.html</link>
      <description><![CDATA[格式如下所示：Excel文件下载
**** 本内容被作者隐藏 ****]]></description>
      <category>PHP/MySql</category>
      <author>admin</author>
      <pubDate>Tue, 29 Mar 2016 10:16:23 +0000</pubDate>
    </item>
    <item>
      <title>4、CURD中查询方式的一般使用</title>
      <link>https://www.yusian.com/bbs/thread-11157-1-1.html</link>
      <description><![CDATA[[mw_shl_code=php,false]]]></description>
      <category>PHP/MySql</category>
      <author>Sian</author>
      <pubDate>Fri, 11 Mar 2016 13:47:43 +0000</pubDate>
    </item>
    <item>
      <title>4、使用CRUD实现简单用户数据管理</title>
      <link>https://www.yusian.com/bbs/thread-11152-1-1.html</link>
      <description><![CDATA[1、先看效果


2、基本设置思路
2.1、首先创建一个数据表user，包含基本字段：username，password，email等；
2.2、在Home目录下创建一个控制器UserController.class.php，所有的逻辑处理都在这个控制器里通过不同的方法实现；
2.3、对应三个页面准备在在View目录下的Us ...]]></description>
      <category>PHP/MySql</category>
      <author>Sian</author>
      <pubDate>Thu, 10 Mar 2016 03:46:33 +0000</pubDate>
    </item>
    <item>
      <title>3、CRUD的基本使用方法</title>
      <link>https://www.yusian.com/bbs/thread-11151-1-1.html</link>
      <description><![CDATA[[mw_shl_code=php,false]]]></description>
      <category>PHP/MySql</category>
      <author>Sian</author>
      <pubDate>Wed, 09 Mar 2016 13:53:32 +0000</pubDate>
    </item>
    <item>
      <title>2、使用MVC模型实现基本输出</title>
      <link>https://www.yusian.com/bbs/thread-11150-1-1.html</link>
      <description><![CDATA[一、ThinkPHP的输出
1、通过echo等php原生输出方式在页面中输出；
2、通过display方法输出（类似smarty模板引擎）参照：http://www.yusian.com/thread-11086-1-1.html ；
2.1、控制器实现：[mw_shl_code=php,false]]]></description>
      <category>PHP/MySql</category>
      <author>Sian</author>
      <pubDate>Tue, 08 Mar 2016 13:55:54 +0000</pubDate>
    </item>
    <item>
      <title>1、环境搭建及基本使用</title>
      <link>https://www.yusian.com/bbs/thread-11149-1-1.html</link>
      <description><![CDATA[1、下载框架源文件：http://www.thinkphp.cn/down.html 下载核心版即可；
2、将下载的压缩包解压缩，找到里面的ThinkPHP目录拷贝到Web服务器的根目录（前提条件是已经搭建好了支持php的web服务器）；
3、在服务器根目录新建index.php文件；
[mw_shl_code=php,false] ...]]></description>
      <category>PHP/MySql</category>
      <author>Sian</author>
      <pubDate>Tue, 08 Mar 2016 12:13:03 +0000</pubDate>
    </item>
    <item>
      <title>模板引擎Smarty以插件形式扩展修饰器、模板函数、块函数</title>
      <link>https://www.yusian.com/bbs/thread-11090-1-1.html</link>
      <description><![CDATA[1、通过 $smarty-&gt;addPluginsDir(ROOT.\&quot;/saplugins\&quot;);        // 增加插件目录[mw_shl_code=php,false]]]></description>
      <category>PHP/MySql</category>
      <author>Sian</author>
      <pubDate>Wed, 27 Jan 2016 14:30:30 +0000</pubDate>
    </item>
    <item>
      <title>模板引擎Smarty中变量修改器的简单使用</title>
      <link>https://www.yusian.com/bbs/thread-11089-1-1.html</link>
      <description><![CDATA[PHP文件
[mw_shl_code=php,false]]]></description>
      <category>PHP/MySql</category>
      <author>Sian</author>
      <pubDate>Wed, 27 Jan 2016 09:42:15 +0000</pubDate>
    </item>
    <item>
      <title>模板引擎Smarty从配置文件中读取变量</title>
      <link>https://www.yusian.com/bbs/thread-11088-1-1.html</link>
      <description><![CDATA[1、设置配置文件路径
[mw_shl_code=php,false]]]></description>
      <category>PHP/MySql</category>
      <author>Sian</author>
      <pubDate>Wed, 27 Jan 2016 07:44:28 +0000</pubDate>
    </item>
    <item>
      <title>模板引擎Smarty中PHP分配变量的基本实现方式</title>
      <link>https://www.yusian.com/bbs/thread-11087-1-1.html</link>
      <description><![CDATA[PHP文件
[mw_shl_code=php,false]]]></description>
      <category>PHP/MySql</category>
      <author>Sian</author>
      <pubDate>Wed, 27 Jan 2016 07:23:08 +0000</pubDate>
    </item>
    <item>
      <title>模板引擎Smarty的基本使用</title>
      <link>https://www.yusian.com/bbs/thread-11086-1-1.html</link>
      <description><![CDATA[1、使用模板引擎的根本目的是为了让php代码与html代码分离，前端与后台“独立开发”；
2、下载Smarty模板引擎http://www.smarty.net，将lib目录拷贝到项目目录；
3、模拟前端与后台操作，如前端url：http://php.yusian.com   后台url：http://php.yusian.com/Admin；
4 ...]]></description>
      <category>PHP/MySql</category>
      <author>Sian</author>
      <pubDate>Wed, 27 Jan 2016 02:26:04 +0000</pubDate>
    </item>
    <item>
      <title>自定义Session的memcache实现</title>
      <link>https://www.yusian.com/bbs/thread-11085-1-1.html</link>
      <description><![CDATA[数据库实现参考：www.yusian.com/thread-11084-1-1.html 

[mw_shl_code=php,false]]]></description>
      <category>PHP/MySql</category>
      <author>Sian</author>
      <pubDate>Tue, 26 Jan 2016 08:00:01 +0000</pubDate>
    </item>
    <item>
      <title>自定义Session的数据库实现</title>
      <link>https://www.yusian.com/bbs/thread-11084-1-1.html</link>
      <description><![CDATA[文件存储实现参考：http://www.yusian.com/thread-11083-1-1.html

[mw_shl_code=php,false]]]></description>
      <category>PHP/MySql</category>
      <author>Sian</author>
      <pubDate>Tue, 26 Jan 2016 07:24:27 +0000</pubDate>
    </item>
    <item>
      <title>自定义Session的文件存储实现</title>
      <link>https://www.yusian.com/bbs/thread-11083-1-1.html</link>
      <description><![CDATA[[mw_shl_code=php,false]]]></description>
      <category>PHP/MySql</category>
      <author>Sian</author>
      <pubDate>Mon, 25 Jan 2016 10:22:11 +0000</pubDate>
    </item>
  </channel>
</rss>