
-----------------------------------
Tycoon
Tue Jan 09, 2007 11:04 pm

Form Features for Final Project
-----------------------------------
I have been working on my final project for computer programming class (I will post a link to the site once its done and needs testing) and I am currently working on the message section of the members area. But I have run into a problem, how do I make the posting section like the one they have on this forum.

With Bold, Italics, Underlining and the quote feature, thats all I need. Currently I have it replacing the codes,  etc., with  using str_replace but I don't know how the |quote][/quote| (disabled it) function works.

I am sorry if something like this has already been posted.

Thanks, Tycoon.

-----------------------------------
Amailer
Wed Jan 10, 2007 12:26 am

RE:Form Features for Final Project
-----------------------------------
function replace_quote($message) {
		
	if(!empty($message)) {

		if($count = preg_match_all("#\(.*?)\#si", $message, $replace)) {
		
			for($i=0; $i