golfer1 Posted February 19, 2009 Share Posted February 19, 2009 Hi guys. I am building a forum, and I am 90% done, however I need some help on how to go about storing the messages in the way I want. For example: If someone is being quoted the message is displayed currently as '(sqb)quote=origauthor] Message ' However, when the new message is being displayed I would like '(sqb)quote=origauthor]' to display as '<div class="quote"><span class="origauthor">Original Author says:</span>' and '' to display '</div>' The same example could be applied to URLs or Image Links posted for example. How would I go about getting the '(sqb)quote=""]..' to change to '<div class="....' when being stored in order to display properly? Thanks for your help Link to comment https://forums.phpfreaks.com/topic/145850-converting-messages-for-storing/ Share on other sites More sharing options...
golfer1 Posted February 19, 2009 Author Share Posted February 19, 2009 It's ironic that my original message was altered to make the quote boxes. As that was my question! Link to comment https://forums.phpfreaks.com/topic/145850-converting-messages-for-storing/#findComment-765734 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.