Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-09-2010, 09:53 AM   PM User | #1
rogerrr93
New to the CF scene

 
Join Date: Mar 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
rogerrr93 is an unknown quantity at this point
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" />
</form>

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 09:59 AM.. Reason: Fixet question
rogerrr93 is offline   Reply With Quote
Old 03-09-2010, 01:01 PM   PM User | #2
JordanW
Regular Coder

 
Join Date: Jul 2007
Location: United Kingdom
Posts: 159
Thanks: 2
Thanked 15 Times in 15 Posts
JordanW is on a distinguished road
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 ]
JordanW is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:26 AM.


Advertisement
Log in to turn off these ads.