PHP Questions Home
Categories
Arrays
Files
Forms
Creating PDFs
PHP Errors
Functions
Images
MySQL
Numbers
Others
Strings
Website

PHP Forums
Forums Index
MySQL Forum
PHP Forum
Flash/Actionscript
Javascript
Web design

More PHP
PHP Functions
Top Questions
Ask a Question
PHP Interview Questions
PHP Jobs
Ecommerce
IT Questions
Business Websites

Sponsors

sponsor ad
My Salary
PHP Developer Salary
Advertise Here

How can I access information sent through GET on a form?


If you have a dynamic site or are passing data through the URL, then you will need to use GET to access the variables sent from page to page.

To access the data sent this way, you use the $_GET array like this:

Imagine you have a parameter called 'name' in the URL, here's how to access it:

www.myurl.com?name=johnny

$youare = $_GET["name"]; this will now contain the value 'johnny'

Comments on this Question/Answer

What are magic quotes?
By: sangeeta, 22 Nov 2008 01:42:04



Reply to comments / post your own comment >>>

ASK A QUESTION

More forms PHP Questions

1.want to know simple logic and procedure of FORM VALIDATION? 2.How to check Login and password in PHP?

how to display like table from database records?

Dear Friends, I need to enable the user to add a drop down menu and a text field by only clicking on button (in case the user wants more) I have the following codes how do I make it better: Enter User : Truck Mixer

Can anyone made process.php of contact form here is contact form HTML and CSS code. -------------------------------- HTML -------------------------------- Name Phone

Hi all , I use CURL to login to webtrafficagents.com . I got the script and modified it to login to several sites , but it can't login to this one , any experts can help , a reward is granted :) what i want : I want to be able to view the source



Custom Search