Code: 
$value=str_replace($unwanted, $wanted, $value);
$unwanted = array("[img]", "[/img]");
$wanted  = array("[img=", " width=200]");
When i use the above code,nothing happens.
Porsche_maniak Reviewed by Porsche_maniak on . Where do i wrong? $value=str_replace($unwanted, $wanted, $value); $unwanted = array("", ""); $wanted = array(""); When i use the above code,nothing happens. Rating: 5