remove special character from string

$pname = preg_replace("/[^A-Za-z0-9]/", '', $product['name']);
     

Comments

Popular Posts