View Full Version : PHP Form Validation Help

03-09-2010, 10:53 AM
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

03-09-2010, 02:01 PM
What is the result of the form submission?

I.e. what does welcome.php display when you press submit?