<?php//9*9乘法表$num = '';for($i=1;$i<=9;$i++){ for($j=1;$j<=$i;$j++){ echo $j.'*'.$i.'='.$i*$j." "; } echo "<br/>";}
//函数替换双斜杠为单斜杠$url = 'www.test/test//tesa/.com ';$str_replace = str_replace('//','/',$url);echo $str_replace;
?>