PDA

View Full Version : Replacement


simmer1974
05-14-2010, 09:40 AM
Hello,

First, i'am a beginner at php.

Working on a script that can replace words or characters
These words i want to manage from the admincp, i created the setting (word_filter) for it and want to add the words like this in the textarea.

'car'=>'ford'
'vw'=>'volkswagen'

How can i put them in a array and let str_replace the words?

Any help would be great..

Simmer