日期:2014-05-17 浏览次数:20408 次
<?php $html = ' </tbody> </table> <input type="hidden" name="prt" value="1" /> <input type="image" src="/images/add_t_s_c.png" /> </form>'; $content=preg_replace("xxx","",$html); echo $content; ?>
$html = ' </tbody> </table> <input type="hidden" name="prt" value="1" /> <input type="image" src="/images/add_t_s_c.png" /> </form>'; $content=preg_replace("/([^>])[\r\n]+/x","$1",$html); echo $content;