Skip to main content

Openings for different technoogies.

The $_GET Variable

The predefined $_GET variable is used to collect values in a form with method="get"
Information sent from a form with the GET method is visible to everyone (it will be displayed in the browser's address bar) and has limits on the amount of information to send.

Example

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

When the user clicks the "Submit" button, the URL sent to the server could look something like this:
http://www.w3schools.com/welcome.php?fname=Peter&age=37
The "welcome.php" file can now use the $_GET variable to collect form data (the names of the form fields will automatically be the keys in the $_GET array):
Welcome <?php echo $_GET["fname"]; ?>.<br />
You are <?php echo $_GET["age"]; ?> years old!
 

When to use method="get"?

When using method="get" in HTML forms, all variable names and values are displayed in the URL.
Note: This method should not be used when sending passwords or other sensitive information!
However, because the variables are displayed in the URL, it is possible to bookmark the page. This can be useful in some cases.
Note: The get method is not suitable for very large variable values. It should not be used with values exceeding 2000 characters.

Comments

Popular posts from this blog

Openings for different technoogies.

 

Walk in for Networking Executives On 29th Nov

Company        Infosys BPO Ltd Website          www.infosysbpo.com Eligibility        Graduates/Diploma Experience     1-3 Years Location         Chennai Infosys BPO Ltd Job Role: Networking Executives Job Summary : 1. Working experience in supporting network related queries 2. Knowledge on switches, Rouers, Hubs, LAN'S,WAN'S etc is preferred QUALIFICATION: 1. Only graduates with 10+2+3 2. Diploma 10+2+3 SKILLSETS: Good communication skills. Strong analytical and problem solving skills. EXPERIENCE 18 to 36 months experience in the relevant field only OTHERS Flexibility to work in shifts Walkins for Networking Executives on 29th Nov 2012 *****Interview Slots******* ******10:30 AM & 1:00 PM & 3:00 PM***** Walk-In Venue: Infosys BPO 3rd Floor, Hardy Towers Ramanujam IT Park Next to Tidal Taramani (Tirumanviyur...

SBI Hiring Probationary Officers

Company        SBI(State Bank Of India) Website          www.sbi.co.in Eligibility        Any Degree Experience     Freshers Location         Anywhere in India SBI(State Bank Of India) Job Role: Probationary Officers (POs) Job Summary : Eligibility Criteria: Graduation in any discipline from a recognised University or any equivalent qualification recognised as such by the Central Government. Age Limit: As on 01.01.2013 Not below 21 years and not above 30 years as on 01.01.2013 i.e candidates must have been born not earlier than 02.01.1983 and not later than 01.01.1992 (both days inclusive) ONLINE REGISTRATION OF APPLICATION: 30.01.2013 TO 23.02.2013 PAYMENT OF FEES - ONLINE : 30.01.2013 TO 23.02.2013 PAYMENT OF FEES - OFFLINE : 01.02.2013 TO 28.02.2013 DATE OF WRITTEN EXAMINATION : 28.04.2013 More Details: http://w...