Need to download code?
beginning_php thread: text2html
Is any body know a function or a class who does the text to html conversion? -- Simon Martel simon.martel@s...
> Is any body know a function or a class who does the text to html > conversion? uh... huh? what kind of conversion are you talking about? Here's links to some possibly useful functions: http://www.php.net/htmlentities http://www.php.net/htmlspecialchars http://www.php.net/nl2br nik
>Is any body know a function or a class who does the text to html conversion? If the text format is just plain text, then it needs no conversion to html and it will be formatted as is, if output by php - don't forget to use htmlspecialchars(). If it's not plain text (e.g. <wince> Word document </wince>, Rich Text Format, PDF, etc., etc.) then you need a conversion tool. If this is what you mean, please explain what you're trying to do. Duncan Hutty