<textarea> Related...!

Discussion in 'PHP' started by strgraphics, Jun 15, 2010.

  1. #1
    I have done stunent marks adding program in php and it's working welll,

    But In general <textarea> is using for text post purpose..,

    but what if i need to send some html code in it.., any body have any idea..!


    Remember its the php program..., please tell me related to this.
     
    strgraphics, Jun 15, 2010 IP
  2. gapz101

    gapz101 Well-Known Member

    Messages:
    524
    Likes Received:
    8
    Best Answers:
    2
    Trophy Points:
    150
    #2
    use ckeditor or tinymce or any other html editor
     
    gapz101, Jun 15, 2010 IP
  3. roopajyothi

    roopajyothi Active Member

    Messages:
    1,302
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #3
    If you need to show something in text area you can set a defaut value for it using value="Blablablablabla"
     
    roopajyothi, Jun 15, 2010 IP
  4. strgraphics

    strgraphics Active Member

    Messages:
    710
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    No yar.., what i am saying... is

    if i type, some thing in textarea like

    <html>
    <body>
    this is strGraphics
    </body>
    </html>

    if user call mail()

    the mail should be with the output of: this is strGraphicsa
     
    strgraphics, Jun 15, 2010 IP
  5. roopajyothi

    roopajyothi Active Member

    Messages:
    1,302
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #5
    Oops! I hope you are asking about submitting a form and process it right???
     
    roopajyothi, Jun 15, 2010 IP
  6. strgraphics

    strgraphics Active Member

    Messages:
    710
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #6
    ya but.., what i am asking is that <textarea> must support the html code...,
     
    strgraphics, Jun 15, 2010 IP
  7. roopajyothi

    roopajyothi Active Member

    Messages:
    1,302
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #7
    Ok!
    For that i can do a Program
    As Gapz Said you can use a WYSIWGY Editior
     
    roopajyothi, Jun 15, 2010 IP
  8. strgraphics

    strgraphics Active Member

    Messages:
    710
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #8
    Ohh k k, thanks roopajyothi and gapz101,

    but currently i am using.., sothink html editor..., but my doubt is what is the name of that consept..! i mean how can i identify that property in any editor..!
     
    strgraphics, Jun 15, 2010 IP
  9. roopajyothi

    roopajyothi Active Member

    Messages:
    1,302
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #9
    There are many editior
    try CKEditor there is a example in that to post a text as you asked

    You can modify that to do the Job
     
    roopajyothi, Jun 15, 2010 IP
  10. strgraphics

    strgraphics Active Member

    Messages:
    710
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #10
    Ya ok ok..., thank you roopa and gapz101
     
    strgraphics, Jun 15, 2010 IP