上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 74 下一页
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title></title> </head> <body> <form action="/laravel/public/insert" method="post"> 用户名 阅读全文
posted @ 2017-07-25 21:33 生如逆旅,一苇以航 阅读(1340) 评论(0) 推荐(0) 编辑
摘要: 'zhong','g'=>'guo','age'=>108); echo http_build_query($str);*/ //输出:z=zhong&g=guo&age=108 //3.parse_url解析url字符串。 /*$url="http://www.phpdl.com/index.php?site=PHP中国&school=DongLi#abc"; print_r(parse_... 阅读全文
posted @ 2017-07-23 11:32 生如逆旅,一苇以航 阅读(291) 评论(0) 推荐(0) 编辑
摘要: zhong [1] => guo ) //2.implode()将一个一维数组的值链接为字符串。 /*$str=array('m','l','z','g'); echo implode($str,"_");//输出:m_l_z_g */ //3.explode()——使用一个字符串分割另一个字符串。 //例: /*$str="M L Z G"; $arr=explode(" ",$str... 阅读全文
posted @ 2017-07-23 11:17 生如逆旅,一苇以航 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-07-23 10:44 生如逆旅,一苇以航 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-07-23 10:05 生如逆旅,一苇以航 阅读(243) 评论(0) 推荐(0) 编辑
摘要: &quot; [&] => &amp; [ &lt; [>] => &gt; ) */ //例: //print_r(get_html_translation_table(HTML_ENTITIES, ENT_QUOTES | ENT_HTML5)); //结果列出所有支持实体,有一千多个 //5.htmlspecialchars——转义特殊字符为html实体。 /* 第二个参数: 第三个... 阅读全文
posted @ 2017-07-23 09:32 生如逆旅,一苇以航 阅读(857) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-07-21 06:53 生如逆旅,一苇以航 阅读(288) 评论(0) 推荐(0) 编辑
摘要: '美','力','x'=>'学','院'); print_r($a);//直接输出数组$a*/ //8.var_export()输出或返回一个字符串的表示 /*$a = array (1, 2, array ("a", "b", "c")); var_export ($a);*/ ?> 阅读全文
posted @ 2017-07-19 07:35 生如逆旅,一苇以航 阅读(223) 评论(0) 推荐(0) 编辑
摘要: '); echo $b;*/ /* 输出: Welcome to DongLi Education Group */ //例: /*$text = "A very long woooooooooooord."; $newtext = wordwrap($text, 8, "\n", true); echo "$newtext\n";*/ /* 输出: A very long wooooooo... 阅读全文
posted @ 2017-07-18 07:55 生如逆旅,一苇以航 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 我是一个数组 ) //4.Nowdoc结构 //里面的变量不会被解释 /*$a=33; $b= 阅读全文
posted @ 2017-07-18 06:10 生如逆旅,一苇以航 阅读(125) 评论(0) 推荐(0) 编辑
上一页 1 ··· 60 61 62 63 64 65 66 67 68 ··· 74 下一页