Current location: Hot Scripts Forums » Programming Languages » PHP » raeding textarea in textarea


raeding textarea in textarea

Reply
  #1 (permalink)  
Old 05-29-09, 08:18 PM
Wanasa Wanasa is offline
Newbie Coder
 
Join Date: Oct 2008
Posts: 90
Thanks: 0
Thanked 0 Times in 0 Posts
raeding textarea in textarea

hi everyone ,

am facing a problem with templates editing. Am using MySQL table to stor the style template in script that am working on. and to edit the template in the administrator control panel i used textarea feild.

the problem is when the textarea call a tempalte that have a textarea code, the page close the textarea cause it will look like this

<tetarea >

<!-- the template -->
<textarea> << this is in the template
</textarea> << this is the close for the textarea in the template
<!-- end template -->

</textatea>

the page uses the first </textarea> to close the first open textarea !!

hope someone know how to fix this problem ,,

thankx in advance ,
wanasa
Reply With Quote
  #2 (permalink)  
Old 05-29-09, 11:29 PM
crumblen's Avatar
crumblen crumblen is offline
Newbie Coder
 
Join Date: May 2009
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
why not just use a DIV?
Give it an ID and publish your admin control panel posts to that?
Reply With Quote
  #3 (permalink)  
Old 05-30-09, 12:18 AM
Wanasa Wanasa is offline
Newbie Coder
 
Join Date: Oct 2008
Posts: 90
Thanks: 0
Thanked 0 Times in 0 Posts
i didn't get it !! can you explane more please.
Reply With Quote
  #4 (permalink)  
Old 05-30-09, 02:28 AM
Wanasa Wanasa is offline
Newbie Coder
 
Join Date: Oct 2008
Posts: 90
Thanks: 0
Thanked 0 Times in 0 Posts
back ,
this is an example for what am facing : Textarea
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
inserting a line of code on current cursor possition into textarea sujata_ghosh JavaScript 12 08-21-07 07:22 AM
Textarea defined by td ? Nervosa CSS 3 06-18-07 12:06 AM
Editing text in Textarea html control sudidelaravindra JavaScript 1 09-15-06 10:17 AM
Textarea & Javascript amitroy5 JavaScript 4 06-04-05 03:50 PM
script subtratct input from textarea and display the result in othe textarea mathfxr Script Requests 2 12-19-04 11:19 AM


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