I'm having some trouble counting the number of times the word "[imgstart]" appears in my $text variable. If I could have some help, with a script that can output the amount into a $count variable, I would appreciate it.
[man]substr_count[/man]
Wow, thanks very much. 🙂