View unanswered posts | View active topics It is currently Fri Dec 15, 2017 5:22 am



Reply to topic  [ 1 post ] 
 PHP tutorial: 'GET' text extractor 
Author Message
Junior Member

Joined: Sun Sep 13, 2009 4:08 pm
Posts: 54
Location: United States Of America
Post PHP tutorial: 'GET' text extractor
This is actually a method, not an extractor :D Alright, I am going to show you a simple 'GET' statement, very clever :D

[php]

<form action='YourWebpage.php' method='GET'>
Name: <input type='Text' name='PutANameHere'>
Age: <input type='Text' name='PutNameHere'>
</form>

$name = $_GET['PutANameHere'];
$age = $_GET['PutNameHere'];

echo "Your name is $name,
<P> And your age is $age";
[/php]

There you go :D report errors please.


Sun Sep 27, 2009 1:02 pm
Report this post
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.