...

View Full Version : Removing all the underscores from a var...



sir pannels
05-03-2004, 10:14 PM
Hey...

Does anyone know the function to take out any underscores in variable and replace them with spaces?

Cheers
James

raf
05-03-2004, 10:16 PM
$var=str_replace('_', ' ', $var);

sir pannels
05-03-2004, 11:58 PM
great - thanks again raf :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum