Any number of ways you can do it. You can have the user enter in valid
HTML and just display it as such. Or you can use a markup language like
most BB. 

Something like [b] for bold, [color=red] text [/color] to change colors,
etc.

PHP then looks through the post and replaces those tags with the HTML
equivalent. 

---John Holmes...

> -----Original Message-----
> From: Anthony Ritter [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 25, 2002 8:39 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] bulletin board question...
> 
> To all,
> On a bulletin board (non-usenet) within a website, is it possible to
> change
> the color or size of the type - or add a link from a word that the
user
> has
> posted?
> 
> For example, John Doe posts:
> 
> "Man, it's hot out here today!"
> 
> Where John changes the default font color - which is black - of the
word
> "hot" - *to red* - and then links "today" with a URL to another site
like
> weather.com
> 
> If so, how would this be accomplished?
> Any thoughts?
> 
> Thank you.
> Tony Ritter
> 
> 
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to