Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2010
    Thanked 0 Times in 0 Posts

    PHP Form Validation Help

    PHP form validation is KILLING me! I have been wandering around on the internet for weeks trying to get my 1 fielded form, it realy isnt any more difficult, its just a php $get page wich code: (example)

    <form action="welcome.php" method="get">
    Name: <input type="text" name="fname" />
    <input type="submit" />

    And directs to a page with code:

    Welcome <?php echo $_GET["fname"]; ?>.

    No additional things. But i have tried so many times and its just not going to work i think. If want to inmplement a VERY simple code (no SQL or something) and just an option like [$words = array("bad1", "bad2", "bad3");]
    can somebody PLEASE HELP? Contact at: filecache@live.nl
    Last edited by rogerrr93; 03-09-2010 at 10:59 AM. Reason: Fixet question

  2. #2
    Regular Coder
    Join Date
    Jul 2007
    United Kingdom
    Thanked 15 Times in 15 Posts
    What is the result of the form submission?

    I.e. what does welcome.php display when you press submit?
    Remember The Thank You Button Is Your Friend =]

    [ PHP / Javascript / VisualBasic / HTML / DHTML / CSS / .NET / MySQL ]


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts