nick.a Posted February 22, 2011 Share Posted February 22, 2011 Hello to everyone! I got this problem - I use this to enter text in, then a script gets the text from it and writes it to a MySQL database - simple right? The issue is even more simple! How can I make the input box bigger? I've found some info on <textarea> but it's not working for me - the input type box "author" is working fine, but it's not entering anything from where I'm using <textarea> Any help on this? <form action="newsproc.php" method="post"> <p style="font-family:arial;color:black;font-size:10px;">author:</p> <input type="text" name="author" > <p style="font-family:arial;color:black;font-size:10px;">Text:</p> <textarea cols="50" rows="4" name="text"></textarea> Link to comment https://forums.phpfreaks.com/topic/228529-a-problem-with-input-boxes/ Share on other sites More sharing options...
sunfighter Posted February 25, 2011 Share Posted February 25, 2011 You make the textarea larger or smaller by changing the cols and rows. I don't understand "but it's not entering anything from where I'm using <textarea>" Are you having a different problem than changing the size of the box? Link to comment https://forums.phpfreaks.com/topic/228529-a-problem-with-input-boxes/#findComment-1179365 Share on other sites More sharing options...
flolam Posted February 27, 2011 Share Posted February 27, 2011 I think he means the text from <textarea> is not inserted into the database. Could you post the PHP you use? Link to comment https://forums.phpfreaks.com/topic/228529-a-problem-with-input-boxes/#findComment-1180443 Share on other sites More sharing options...
freddy_1992 Posted March 1, 2011 Share Posted March 1, 2011 <form method="post"> <input type="text" name="textbox" size="50" /> </form> size is for making a textbox bigger greetz Link to comment https://forums.phpfreaks.com/topic/228529-a-problem-with-input-boxes/#findComment-1181182 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.