10 2019 档案
摘要:<?php$str="what is you name?";$arr=array('i','s');$arr_1=array('s','i');//是先后替换的。echo str_replace($arr,$arr_1,$str);//(筛选替换数,替换数,本来的string)echo "<br/>
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <form action="index.php" method="post"> 你上的课程是?<br /> <input type="checkbox" name='course[]' value='语
阅读全文
摘要:<?php$arr=["tom","peter","mary"];$str=implode("+",$arr);//implode array(数组)元素中间加上【“+”】的str。echo $str;$s="How Old Are You!!";$s1="abc..de.16.3.doc";$ne
阅读全文
摘要:<style>*{font-size: 30px;}</style> //传地址 &<?phpfunction sum($a,&$b){ $c=$a+$b; $b++; return $c;}$m=3;echo sum(1,$m)+6; //10echo "<br />".$m; //4 ?> //
阅读全文