mysql - PHP - Allowing string number and few symbols -
how allow preg_replace
string, number , few symbols?
preg_replace("/[^0-9]/","",$data[0]); //only works fine numbers
columns values are:
technische achtergrond,0,1 maritieme bediende,1,1 transport rijbewijs c en ce,0,4 commercieel bediende,1,5 heftruck/reachtruck(technisch operator),0,5 boukhouding/financieel,1,3
preg_replace("#[^0-9a-z\(\),/\-\.'\" ]#i", "", $data[0]);
Comments
Post a Comment