yeahz Posted November 21, 2010 Report Share Posted November 21, 2010 function strip_html_tags($text) { // allowed tags $tags = '<p><a><strong><em><u><strike><sub><sup><li><ol><ul><blockquote><img><br><table><tr><td><th><hr><h1><h2><h3><h4><h5><h6><h7><h8><h9><span>'; return strip_tags($text, $tags); } šis iet tajā funkcijā <iframe src ="http://www.tvnet.lv" width="100%" height="300"> <p>Your browser does not support iframes.</p> </iframe> un rezultāts: Your browser does not support iframes. no kurienes tas uzradās? Quote Link to comment Share on other sites More sharing options...
Kavacky Posted November 21, 2010 Report Share Posted November 21, 2010 <p> ir allowed sarakstā. A un B sēdēja uz trubas. A nokrita, B pazuda, kas palika uz trubas? Quote Link to comment Share on other sites More sharing options...
yeahz Posted November 22, 2010 Author Report Share Posted November 22, 2010 nja, programmēt naktī nav labi. :D Quote Link to comment Share on other sites More sharing options...
Kavacky Posted November 22, 2010 Report Share Posted November 22, 2010 0130hrs jau nav nakts, tā tāda vēla pēcpusdiena vien ir. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.