| | |
Simple Multi Line Text box in PHP
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jan 2009
Posts: 5
Reputation:
Solved Threads: 0
Hello,
I'm looking for a way to make a simple multi line text box in PHP. I am trying to make a text box a couple thousand characters log. but when i try to create it, it just makes a very long text box. I can't seem to find any information on how to make that a multi line box. I don't care if you can use line returns or not.
I'm very very new to PHP.
I'm looking for a way to make a simple multi line text box in PHP. I am trying to make a text box a couple thousand characters log. but when i try to create it, it just makes a very long text box. I can't seem to find any information on how to make that a multi line box. I don't care if you can use line returns or not.
I'm very very new to PHP.
•
•
Join Date: Aug 2009
Posts: 1
Reputation:
Solved Threads: 0
I'm a bit confused by your request. Text boxes are generated in html and the data sumbitted is used by the PHP script. If you want to display a text box on a .php page, simply close the php tags and create an html form. I use the <textarea> tag to create mine. You can open and close the <?php tags whenever you like throughout the page. When the tag is closed ?> you can treat the file like a normal html page.
If that isn't what you meant post more details and I'll try to troubleshoot with you. Hope that helps.
Zechieo - Lanslide Gaming PCs:
The <FAKE SIGNATURE>Built For LAN Parties
If that isn't what you meant post more details and I'll try to troubleshoot with you. Hope that helps.
Zechieo - Lanslide Gaming PCs:
The <FAKE SIGNATURE>Built For LAN Parties
Last edited by peter_budo; Aug 5th, 2009 at 6:24 am. Reason: Keep It On The Site - Do not manually post "fake" signatures in your posts. Instead, you may create a sitewide signature within the user control panel.
You would have to use JavaScript I beleive I don't think the textarea allows the maxlength attribute.
Posts should be like mini-skirts, long enough to cover enough, but not too long that you cover too much.
My Liveperson: http://liveperson.com/josh-connerty/
My Liveperson: http://liveperson.com/josh-connerty/
![]() |
Similar Threads
- selecting a line from a text box (Visual Basic 4 / 5 / 6)
- Text box do not execute "\n" (C#)
- Text Box (PHP)
- Extracting text from a multi-line Edit Box (win32api using c++) (C++)
Other Threads in the PHP Forum
- Previous Thread: Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource
- Next Thread: Help: making a rss reader (twitter)
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary broken cakephp checkbox class cms code codingproblem cron curl database date directory display download dynamic echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla limit link login loop mail memmory menu methods mlm mod_rewrite multiple mysql oop parameter parse paypal pdf php problem query radio random recursion regex remote script search select send server sessions sms soap source space speed sql static structure syntax system table tutorial up-to-date update upload url validation validator variable video web wordpress xml youtube





