Jump to content

derbyshiresoftware

New Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by derbyshiresoftware

  1. Yes I know thats good practice but it doesn’t work when you put the <text value value in and submit it. I was just trying to keep the code short.

  2. Hello

    I changed my code to what you said and it doesnt make any difference

    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    </head>
        
    <body>
        <?php print_r($_POST);
        ?>
    <form method="POST" >
        <input type="text" name="data" value="some data" maxlength="200"/>
        <input type="submit" name="process"/>
    </form>
    </body>
    </html>

     

  3. Hello,

    Having a problem when putting an xml tag in an input field. The field shows blank in $_POST. Heres some sample code

    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    </head>
        
    <body>
        <?php print_r($_POST);
        ?>
    <form method="post" action="" >
        <input type="text" name="data" value="some data" maxlength="200"/>
        <input type="submit" name="process"/>
    </form>
    </body>
    </html>

     

    If I put <test in the field it shows up blank in the print of POST.

    I actually want to pass xml in a hidden field, and it wouldnt work. Tracked it down to this problem.

    Thanks in Advance

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.