![]() | ![]() | ||||||||
| | #1 |
| Advanced Warrior War Room Member Join Date: May 2009
Posts: 812
Thanks: 82
Thanked 177 Times in 144 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: May 2009
Posts: 812
Thanks: 82
Thanked 177 Times in 144 Posts
|
Figured it out, thanks anyway. Amazing what a few hours sleep will do to solve a problem.
|
| | |
![]() |
|
| Bookmarks |
| Tags |
| code, snippet |
| Thread Tools | |
| |
![]() |