php-windows Digest 30 Oct 2005 21:00:57 -0000 Issue 2808
Topics (messages 26446 through 26447):
Re: output data to a text box
26446 by: Leif Gregory
mysqli extension installation
26447 by: mihai.chira.gmail.com
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
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.
--- End Message ---
--- Begin Message ---
hello. can someone please tell me how to install the mysqli extension for
windows? I use mysql 4.1, php 4.3.1 and apache 1.3.23. I just upgraded from
mysql 3.x to 4.1 and now that I have to use the mysqli functions I get the
error: "Cannot instantiate non-existent class: mysqli"
thank you a lot.
--- End Message ---