|
as an addition to what the genius Martyr2 said:
GET is effective to use because it allows people to bookmark pages... it also allows people to use text links to go to somewhere instead of submit buttons...
when using these methods though, you're basically coding several pages into one... it's just preference, really... sometimes I try to get as last pages as I can (i made 2 pages for a pokeplushies clone), but other people like to keep them seperated because it makes the actual code on the page smaller, and it's therefore easier to troubleshoot...
but like I said, it's preference and in the real world you'll find pages of both types... one example of using GET is Google... if you go there and search for something, you'll see variable pop into the URL bar, and you can bookmark the page or send it to a friend with the variable still intact...
|