Bradley,
There are words to describe people like you, but this list tends to be
quite clean so I'll refrain.
Bradley, meet /dev/null, I hope you'll be very happy together!
-Stut
(I'm thinking this fscker has set up an automated response system -
someone at PHP must be able to unsubscribe him from the list)
Bradley Stahl wrote:
If anyone is interested in some VERY good webhosting that has support for
PHP and MySQL, please take a look at the following link:
http://www.sturdyhosting.com/idevaffiliate/idevaffiliate.php?id=100
They offer domain names for $8.95 and also webhositng solutions for as low
as $2.95 per month.
I hope that some of you are interested and can join the greatest
webhosting
company in the world!
On 10/4/06, *Stut* <stuttle@xxxxxxxxx <mailto:stuttle@xxxxxxxxx>> wrote:
Brad Bonkoski wrote:
> j.kuehne@xxxxxxxxxxxxxx <mailto:j.kuehne@xxxxxxxxxxxxxx> wrote:
>> Hello
>> how I could assign a textarea with a variable value?
>> Although I tried to achieve an allocation like a normal <input,
but
>> it does not work so I have no success with textarea.
>>
>> The code looks like following fragment.
>>
>> $problem_val = mysqlclean($_SESSION, "problem_eb", 500,
$connection);
>>
>> <textarea style="width: 320px; height: 150px;" heigth="30"
width="50"
>> cols="1" rows="1" name="problem_eb" value="<?php echo
>> $problem_val?>"></textarea>
>>
>>
>> Best regards, Joerg Kuehne
>>
>>
> There is no value attribute of textarea...to put text in there, you
> place it between the <textarea></textarea> tags.
> i.e.
>
> <textarea style="width: 320px; height: 150px;" heigth="30"
width="50"
> cols="1" rows="1" name="problem_eb" ><?php echo $problem_val;
> ?></textarea>
Also worth mentioning that you may run into problems if you don't use
htmlentities on $problem_val, like so...
<textarea style="width: 320px; height: 150px;" heigth="30" width="50"
cols="1" rows="1" name="problem_eb" ><?php echo
htmlentities($problem_val); ?></textarea>
-Stut
--
PHP Database 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