Warning: Unknown modifier ']' in /usr...
Posted: Sat Aug 11, 2007 9:18 am
Hey Guys,
Quick question, I'm trying to run the following script on my website
But I get Warning: Unknown modifier ']' in /usr...
What's going on?
Here's a php info page:
http://www.ykcreations.com/tibiaWars/phpinfo.php
Thanks,
Yuval
Quick question, I'm trying to run the following script on my website
Code: Select all
$content = '<br>hello</br>';
$content = preg_replace('<[^>]+>','<br>',$content);
echo $content;What's going on?
Here's a php info page:
http://www.ykcreations.com/tibiaWars/phpinfo.php
Thanks,
Yuval