Hello Panos,
Friday, October 28, 2005, 3:05:48 PM, you wrote:
> What i'm trying to do, is manipulate data that will appear in
> something that will look like a multiline textbox. Unfortunately
> <textarea> doesn't allow tags within it, thus not <?php... either.
Looks like a textarea or is a textarea. Two different things. If you
want it to look like a textarea, do something like:
<div style="border-style: solid; border-width: 1px;"><?php echo $text;?></div>
Although I prefer to use inset borders like:
<div style="border-style: inset;"><?php echo $text;?></div>
Play with css padding till you like it.
If it is a texarea, then do something like this:
echo '<textarea rows="10" cols="50">' . $original_text . '</textarea>';
You might need one or more of the following depending on what you're
displaying:
nl2br()
htmlentities()
htmlspecialchars()
--
TBUDL/BETA/DEV/TECH Lists Moderator / PGP 0x6C0AB16B
__ ____ ____ ____ Geocaching: http://gps.PCWize.com
( ) ( ___)(_ _)( ___) TBUDP Wiki Site: http://www.PCWize.com/thebat/tbudp
)(__ )__) _)(_ )__) Roguemoticons & Smileys: http://PCWize.com/thebat
(____)(____)(____)(__) PHP Tutorials and snippets: http://www.DevTek.org
3 kinds of people: those who can count & those who can't.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php