Hamish Posted April 30, 2007 Share Posted April 30, 2007 Hi All, I would like to be able to set the set the textarea in the following code so that it has 6 rows echo("Notes <input type = \"textarea\" rows = \"6\"/ name = \"Note\"/><br />"); For some reason the textarea stays as a single row. Any help much appreciated Regards Hamish Link to comment https://forums.phpfreaks.com/topic/49284-solved-textarea-setting-rows-in-a-form/ Share on other sites More sharing options...
AndyB Posted April 30, 2007 Share Posted April 30, 2007 That's not how you code a textarea. This is: echo "Notes:<br/><textarea rows='6' cols='20' name='Note'></textarea><br/>"; Link to comment https://forums.phpfreaks.com/topic/49284-solved-textarea-setting-rows-in-a-form/#findComment-241483 Share on other sites More sharing options...
Hamish Posted April 30, 2007 Author Share Posted April 30, 2007 Thanks for the very quick reply, you help as always is much appreciated. Regards Hamish Link to comment https://forums.phpfreaks.com/topic/49284-solved-textarea-setting-rows-in-a-form/#findComment-241496 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.