Discussion Forums  >  Self Hosted Control Panels

Replies: 2    Views: 85

nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
06/20/13 07:24 AM (12 years ago)

HTML/PHP how to use textarea instead of input tag?

This question is for anyone with some html and/or php experience. I have an input box like this <div style='padding-top:5px;'> <b>Question Text</b><br/> <input name='questionText' id='questionText' type='textarea' value="<?php echo fnFormOutput($questionText);?>" style='width:500px; ' /> </div> I would like to use a textarea for the user input instead of the input tag. But the usage of the two tags is a little bit different. Any help is appreciated.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
06/20/13 07:29 AM (12 years ago)
i was looking at this and gave up, BUT psmdannys video streamer has one so do a bit of copy and paste from that
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/20/13 02:02 PM (12 years ago)
Exploded: <textarea name="myTextArea"cols="20" rows="10"> <?php echo fnFormOutput($questionText);?> </textarea> Hope this helps (heck, hope this works! lol!) Cheers! -- Smug
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.