Re: Trouble with Text Area

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephen Sunderlin wrote:
When I put his line outside of the php tags I get the correct size:
<textarea name='name' value='$String' rows='10' cols='10'></textarea><p>

That's not how you specify the value of a textarea. It should be between the tags like so...

<textarea name="name" rows="10" cols="10">$String</textarea>

And I'm assuming that $String has already had htmlentities run on it.

When I put this line inside the php tags the size comes out about 2 rows by
10 columns regardless of the value of rows and cols.

Check the source of the page being created. I'm guessing $String contains a single quote and then a sequence of characters that is causing this behaviour.

Any ideas on how to format this would be greatly appreciated.  The mySQL db
column TYPE I am calling is Blob not null.

-Stut

--
http://stut.net/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux