我更喜欢在类URL中添加方法getURL()
之前:
if($tmp)$url.=(strpos($url,'?')!==false?'&':'?').join('&',$tmp);
return $url;
后:
if($tmp)$url.=(strpos($url,'?')!==false?'&':'?').join('&',$tmp);
$url = preg_replace('|&(?![w]+;)|','&', $url ); return $url;
在:
<a href="/atk4/?page=howto&t=1">Basic Grid</a>
后:
<a href="/atk4/?page=howto&t=1">Basic Grid</a>