| | #1 |
| Advanced Warrior War Room Member Join Date: 2009 Location: cyberspace
Posts: 823
Thanks: 84
Thanked 179 Times in 145 Posts
|
I'm using a script, and it's having a problem with some characters. There is a fix for it, but I can't quite figure it out. The fix is to replace 3 instances of: Code: str_replace(" ","",$str); Code: preg_replace("/[^A-Za-z0-9]/","",$str); However, the 3 instances where str_replace appear look like this: Code: str_replace(" ","",$value);
str_replace(" ","",$value1);
str_replace(" ","",$value); |
| |
| | #2 |
| Advanced Warrior War Room Member Join Date: 2009 Location: cyberspace
Posts: 823
Thanks: 84
Thanked 179 Times in 145 Posts
|
Figured it out, thanks anyway. Amazing what a few hours sleep will do to solve a problem.
|
| |
|
| Bookmarks |
| Tags |
| code, snippet |
| |