Menu
I dont see myself using this elsewhere in the application so I don’t want to make it a stand alone function. I feel like there is probably a preg_replace that would do what I want more efficiently.
[code=php]
//This makes $col = “overviewContentEditable”;
$col = str_replace(” “,””,lcfirst(ucwords(str_replace(“_”,” “,”overview_content_editable”))));
It does exactly what I need it too, just wondering if there was a faster way.