(newbie) editing html elements from php form data ?? any one ?

Discussion in 'PHP' started by Alison3011, Aug 20, 2012.

  1. #1
    hi, I'm a newbie to php, I'm writing a a script right now but I'm stuck at this situation..

    i want visitors to edit a specific html elements permanently through a form in another page coded with php or any other suitable language for this purpose..

    explanation:

    let's say the index.html page has a paragraph like

    HTML Code:


    <p>XXXXXXXXXXX</p>
    i want visitors to edit this paragraph through a form like:



    Paragraph : |___________|

    [submit]


    and the XXXXXXXXXXX changes permanently

    NOTE: if you answered the question i hope it would be in two separate pages, please..

    i hope you get the question and answer it quickly cuz I'm in grave need of it..
    thank you in advance

    Alison..
     
    Alison3011, Aug 20, 2012 IP
  2. wwwprog

    wwwprog Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #2
    For this:
    you need:
    <form name="form" method="post">
        <textarea name="1" class="par" placeholder="Type paragraph"></textarea>
        <input type="submit" value="submit" />
    </form>
    
    PHP:
    Can you explain about filter?
    What kind filter you need?
     
    wwwprog, Aug 21, 2012 IP