Jump to content

str_replace--help needed


RopeADope

Recommended Posts

Hi all.

 

I have a query that returns field names.  I'm basically just trying to clean these field names up.  Removing underscores, capitalizing letters, etc.  The following is supposed to replace underscores with spaces, but it doesn't seem to work.  Any help is appreciated.

str_replace("_"," ",$fields->name);

 

Link to comment
https://forums.phpfreaks.com/topic/226699-str_replace-help-needed/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.