Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Sponsored Reviews   High Bandwidth Dedicated Servers   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 12-19-2003, 07:26 AM   #1 (permalink)
Inactive
 
Join Date: 10-29-03
Posts: 249
iTrader: 0 / 0%
Latest Blog:
None

Limit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the rough
Textarea problem

i have made a textarea box in my form but when i press enter, it is not displayed as going onto the next line so i have to put in <br/> into my textarea in order to make it go onto another line.

Is there anyway i can fix this?
Limit is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 12-19-2003, 11:05 AM   #2 (permalink)
Possible Terrorist
 
kwvarga's Avatar
 
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 4,904
iTrader: 0 / 0%
Latest Blog:
A+ Certification

kwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web pro
Send a message via AIM to kwvarga
<input type="text"> or <textarea>? Because a plain <textarea></textarea> should behave as you expect.
__________________
Kyle Varga
"m3lt/theSpear"
student, web designer/coder, future IT consultant
Experience: PHP/MySQL, Java, C++, MS-SQL
kwvarga is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-19-2003, 11:48 AM   #3 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
Can you show us the code you are using?
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-19-2003, 12:17 PM   #4 (permalink)
Inactive
 
Join Date: 10-29-03
Posts: 249
iTrader: 0 / 0%
Latest Blog:
None

Limit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the rough
[code:1:ecc1ce5337]<textarea id=text rows=11 cols=80 name=description><?php echo $edit?$post['description']:''; ?></textarea>[/code:1:ecc1ce5337]


thats it what basically happens is that it gets put into a mysql database and then it is taken out of the database and displayed on another page.
Limit is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-19-2003, 12:37 PM   #5 (permalink)
Possible Terrorist
 
kwvarga's Avatar
 
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 4,904
iTrader: 0 / 0%
Latest Blog:
A+ Certification

kwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web pro
Send a message via AIM to kwvarga
<textarea is just something like p.. id doesnt automatically insert brs.. i dont think anything does actually..
__________________
Kyle Varga
"m3lt/theSpear"
student, web designer/coder, future IT consultant
Experience: PHP/MySQL, Java, C++, MS-SQL
kwvarga is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-19-2003, 09:46 PM   #6 (permalink)
Inactive
 
Join Date: 10-13-03
Posts: 275
iTrader: 0 / 0%
Latest Blog:
None

Distorted is on the right pathDistorted is on the right path
Try this:

<textarea id=text wrap="virtual" rows=11 cols=80 name=description><?php echo $edit?$post['description']:''; ?></textarea>

That should make it wrap on the page but not wrap when it's submitted. If you want it to wrap in both instances, I believe that wrap="physical" would do that.
Distorted is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-20-2003, 06:57 AM   #7 (permalink)
Inactive
 
Join Date: 10-29-03
Posts: 249
iTrader: 0 / 0%
Latest Blog:
None

Limit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the roughLimit is a jewel in the rough
That didn't work but ignore this topic now as i have fixed it myself the problem was in the php page that recalled what was in the database all solved now. :wink:
Limit is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Radio Button Changes What's In the Textarea theChronic Coding Forum 8 11-02-2007 10:37 AM
PHP - How to echo into one textarea tag ? Plz HeLp!!! nster Coding Forum 5 04-30-2007 06:11 PM
TextArea <BR> Sketch Coding Forum 2 05-05-2005 03:14 PM
HTML rich textarea ShareOurRevenue Coding Forum 2 01-11-2005 02:32 PM
<textarea> capacity? (html) Antinaris Coding Forum 1 04-24-2004 07:10 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 10:13 AM.
© Copyright 2008 V7 Inc