|
You don't need to go into PHP to do that
A very simple query in MySQL is all that is needed and would be a LOT quicker than fetching all the records in a loop then sending them back again.
UPDATE table SET title = lower(replace(title," ","_"))
Let the database do the the work. It's far more efficient at it.
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
|