Current location: Hot Scripts Forums » General Community » Script Requests » writting in textarea


writting in textarea

Reply
  #1 (permalink)  
Old 09-13-03, 12:27 AM
afkaar afkaar is offline
Newbie Coder
 
Join Date: Aug 2003
Location: UaE
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
writting in textarea

when I'm writting in a text area I can make new lines by pressing enter but it dosn't saved like that in the database.

how can I handel this?

PHP Code:



<form>
    <
br><input type=text name=nm>  name
    
<br><input type=text name=tit>   title
    
<br><textarea name=ide rows=10 cols=33 wrap="off"></textarea>    message
    
<br><input type=submit name=sub value=send>
    </
form
Reply With Quote
  #2 (permalink)  
Old 09-13-03, 06:38 AM
clay@lazarusid.com clay@lazarusid.com is offline
Newbie Coder
 
Join Date: Aug 2003
Location: Flint, Michigan
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Try wrap="physical" instead of wrap="off". Most browsers will transmit the newlines.
__________________
<a href="http://www.lazarusid.com/">www.lazarusid.com</a>

Custom script development
Reply With Quote
  #3 (permalink)  
Old 09-14-03, 01:57 AM
afkaar afkaar is offline
Newbie Coder
 
Join Date: Aug 2003
Location: UaE
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
it dosn't work
Reply With Quote
  #4 (permalink)  
Old 09-15-03, 08:44 AM
clay@lazarusid.com clay@lazarusid.com is offline
Newbie Coder
 
Join Date: Aug 2003
Location: Flint, Michigan
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
You probably want to take this to a programming forum, rather than a script request forum. We need to see your code to figure out where you're going wrong, and this isn't the place to get help debugging your code.
__________________
<a href="http://www.lazarusid.com/">www.lazarusid.com</a>

Custom script development
Reply With Quote
Reply

Bookmarks


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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with textarea skchakri ASP 1 10-08-03 09:16 AM
writting in textarea afkaar PHP 7 09-29-03 03:46 AM
print textarea prenaud JavaScript 2 08-29-03 08:13 PM


All times are GMT -5. The time now is 11:47 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.