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
>
> The code looks like following fragment.
>
> $problem_val = mysqlclean($_SESSION, "problem_eb", 500, $connection);
>
>
> cols="1" rows="1" name="problem_eb" value="">
>
>
> Best regards, Joerg Kuehne
>
>
There is no value attribute of textarea...to put text in there, you
place it between the tags.
i.e.
cols="1" rows="1" name="problem_eb" >
-B
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: textarea value assignment
am 04.10.2006 15:17:34 von Stut
Brad Bonkoski wrote:
> 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
>> 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);
>>
>>
>> cols="1" rows="1" name="problem_eb" value="
>> $problem_val?>">
>>
>>
>> Best regards, Joerg Kuehne
>>
>>
> There is no value attribute of textarea...to put text in there, you
> place it between the tags.
> i.e.
>
>
> cols="1" rows="1" name="problem_eb" >
> ?>
Also worth mentioning that you may run into problems if you don't use
htmlentities on $problem_val, like so...
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 wrote:
>
> Brad Bonkoski wrote:
> > 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
> >> 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);
> >>
> >>
> >> cols="1" rows="1" name="problem_eb" value="
> >> $problem_val?>">
> >>
> >>
> >> Best regards, Joerg Kuehne
> >>
> >>
> > There is no value attribute of textarea...to put text in there, you
> > place it between the tags.
> > i.e.
> >
> >
> > cols="1" rows="1" name="problem_eb" >
> > ?>
>
> Also worth mentioning that you may run into problems if you don't use
> htmlentities on $problem_val, like so...
>
>
> cols="1" rows="1" name="problem_eb" >
> htmlentities($problem_val); ?>
>
> -Stut
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>