ethoemmes Posted September 18, 2006 Share Posted September 18, 2006 Hi,I have a script which pulls information from a mySQL database. The field contains descriptions of books. The output is formatted within a <p class="description"> tag. The data in the database has coding within the field which determines quote's so for example:databasefield = "This is normal text which I would like to format as above. [quote]The database stores quotes in these square brackets[/quote] Normal text again etc etc"What I would like to do is apply a different style to the text within the square brackets. Whats the best way of achieving this?ThanksEdgar Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.