Search found 1 match
- Fri Mar 21, 2008 7:28 pm
- Forum: PHP - Code
- Topic: preg_replace help
- Replies: 1
- Views: 112
preg_replace help
I have the following code: $string = $ctemplate[0]; $patterns[0] = '/#CLIENT_NAME#/'; $patterns[1] = '/#CLIENT_AREA#/'; $patterns[2] = '/#CLIENT_BED#/'; $patterns[3] = '/#CLIENT_BATH#/'; $patterns[4] = '/#CLIENT_AMTFROM#/'; $patterns[5] = '/#CLIENT_AMTTO#/'; $patterns[6] = '/#CLIENT_START#/'; $patte...