PHP容错处理怎么实现类似ASP的on error resume next
PHP中用 @ 符号来屏错。
如: @mysql_connect('localhost','name','pwd');
当然也可以用:
try{
}
catch{
出错的话,直接在catch{}里进行处理就行了!