<?php $text = ‘<p>Test paragraph.</p><!– Comment –> <a href=”#fragment”>Other text</a>’; echo strip_tags($text); echo “\n”; // Allow <p> and <a> echo strip_tags($text, ‘<p><a>’); ?>
Daily Archives: October 12, 2009
flash external xml into array
flash external xml into array im attempting to take data in from an xml file and make it into an array in flash… below is the code im using- the problem i am having is that it dosent trace anything Code: var xmlDoc:XML = new XML(); System.useCodepage = true; xmlDoc.ignoreWhite = true; xmlDoc.onLoad = function(ok:Boolean) …