textarea value assignment
| From: | j dot kuehne at sign-tronic dot ch | Date: | Wed, 04 Oct 2006 13:17:20 +0000 |
| Subject: | textarea value assignment | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-42483@lists.php.net to get a copy of this message | ||
Hi
I will try it. Many thanks in any case.
> j.kuehne@sign-tronic.ch 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>
> -B
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
best regards, George
To: bbonkoski@mediaguide.com
Cc: php-db@lists.php.net