摘要: 函数原型:mixed str_replace(mixed needle,mixed new_needle,mixed haystack[,int &count]); needle:要被替换的字符串,new_needle:替换用的字符串,haystack:操作字符串,count:替换次数【可选参数】 阅读全文
posted @ 2016-05-16 10:49 我的快乐888 阅读(843) 评论(0) 推荐(0) 编辑
摘要: 1,在HTML嵌入PHP脚本有三种办法: script language="php">//嵌入方式一echo("test");</script><?//嵌入方式二echo "<br>test2";?><?php//嵌入方式三echo "<br>test3";?> 还有一种嵌入方式,即使用和Asp相同 阅读全文
posted @ 2016-05-16 10:46 我的快乐888 阅读(169) 评论(0) 推荐(0) 编辑