Skyline 2020-07-04
方法一:
$str = " www.wdphp.com "; $var = trim($str); $len = strlen($var)-1; echo $var[$len];
方法二:
$str = "www.wdphp.com"; echo substr($str, -1);
<?php. if (!empty($_POST)) {. $data1 = $_POST["data1"];$data2 = $_POST["data2"];$fuhao = $_POST["fuh