ot;, "'"); //put whatever
characters here
trim(str_replace($invalidChars, "",$string))
- Original Message - From: "Derek C Hopkins"
<[EMAIL PROTECTED]>
To:
Sent: Wednesday, January 31, 2007 1:10 PM
Subject: [PHP-WIN] using preg_replace or equ
quot;4";
$forname = preg_replace($patterns,$replacements ,$forname);
$surname = preg_replace($patterns,$replacements ,$surname);
What happens is all characters get changed to - (the first 0 replacement.
Any help with this or another solution would be appreciated.
Cheers Derek
Derek
he
info is the notice that I am using php 5.0.3-dev.
What might I be doing wrong? Is there a patch for php_gd2.dll that
I have missed? Have I somehow downloaded the wrong php version, or
could something simply have gotten corrupted?
Thanks,
Ari
Cheers Derek
Derek C Hopkins,