I have a chat room. I need help with this.
$do_pm = preg_replace("|/pm *|", “”, $decode);
I’m replacing what’s after /pm.
Say /pm 45
is there anyway I can find out whats entered after 45?
Any help is appreciated.
I have a chat room. I need help with this.
$do_pm = preg_replace("|/pm *|", “”, $decode);
I’m replacing what’s after /pm.
Say /pm 45
is there anyway I can find out whats entered after 45?
Any help is appreciated.
What would you like to make of it? I know for example that ‘hits’ in a regex get thrown into ‘variables’ with names \1 or somethin.