stockton Posted August 11, 2007 Share Posted August 11, 2007 One can in Linux prefix a script as follows:- #!/usr/bin/php -q and then run the script from the command line & the -q tells PHP to leave all HTML out. How can this be done in Microsoft Windows. Link to comment https://forums.phpfreaks.com/topic/64391-php-ignore-html/ Share on other sites More sharing options...
LiamProductions Posted August 11, 2007 Share Posted August 11, 2007 $text = "<b> hello </b>"; $hello = strip_tags($text); Not sure if thats what you mean. Link to comment https://forums.phpfreaks.com/topic/64391-php-ignore-html/#findComment-321060 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.