
php文章
无根水
这个作者很懒,什么都没留下…
展开
-
thinkphp6.02中子查询变量带入无效的解决方法
thinkphp6.02中子查询变量带入无效的解决方法......原创 2023-01-12 11:50:35 · 224 阅读 · 0 评论 -
PHP5与MySQL数据库操作常用代码
<br />1 建立数据库表: <br />复制代码 代码如下:<br />create database club; <br />create table member( <br />id int(11) not null auto_increment, <br />no varchar(5) not null, <br />name varchar(10) not null, <br />age int(2) not null, <br />level varchar(10) not null, <br原创 2011-04-13 21:46:00 · 5486 阅读 · 0 评论 -
php 常用字符串函数总结
1.格式化输出 chop 是rtrim()的别名; ltrim() trim() nl2br()将/n转换成print,echo,printf(),sprintf(): echo()不是函数,print()是函数,有返回值,boolen,false,true; printf()格式化输出 --函数,把文字格式化以后输出,直接调用系统调用进行IO的,他是非缓冲的。如: $name="hunte"; $age=25; printf("my name is %s, age %d", $name, $age); s原创 2011-04-13 22:07:00 · 431 阅读 · 0 评论