View Single Post
  #2 (permalink)  
Old 07-26-2008, 08:55 PM
TeraTask's Avatar
TeraTask TeraTask is offline
PT Admin
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 3
Join Date: Jun 2007
Location: Reno, NV
Posts: 442
iTrader: (0)
TeraTask is a splendid one to beholdTeraTask is a splendid one to beholdTeraTask is a splendid one to beholdTeraTask is a splendid one to beholdTeraTask is a splendid one to beholdTeraTask is a splendid one to behold
GET is used for when the variables are in the URL. For example,

http://www.programmerstalk.net/index...iable=my_value

would give you $_GET['my_variable'].

POST is used when data is submitted via a form through tags like

<input type="text" name="my_variable" value="my_value" />

Then, you'd have $_POST['my_variable']

__________________
Jeremy Miller
Content Farmer - Optimized Automated Blog Posting

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote