Topic: eror on add new html tag
hy punbbers..
i need ur help
here my code in parser.php
$pattern[] = '#\[s\](.*?)\[/s\]#ms';
$replace[] = '<span style=\"text-decoration:line-through\">$matches[1]</span>';
here my input to post
[url=http://zz.com][s]aaa[/s][/url]
here generate eror
Warning! The following errors must be corrected before your message can be posted:
[s] was opened within [u_rl], this is not allowed
what wrong with my pattern php? how to fix it?
please ur help ^^
Have a nice day >.<
(^____^)v