I've got a bunch of entries in a database like this
I want to replace them all so it looks more like this:Code:<object><embed src="http://www.flashgamesnexus.com/gamefiles/gemcraft/gemcraft.swf" width="640" height="480"></object></center>
Its basically the same on every entry. Just need to insert some text in the middle. How would I do this in PHP and regular expressions?Code:<center> <object><embed src="http://www.flashgamesnexus.com/gamefiles/gemcraft/gemcraft.swf" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" / width="640" height="480"></object></center>



Reply With Quote
Bookmarks