0
What are the difference & usage benefit between (get & post) method & between (print & echo)?
I tried a lot but fail to understand đ Please help me.
1 Answer
+ 1
***not sure if this applies to PHP.
but, im working on a website in jsp with java servlets. when you have a form, it should have a method attribute set to get or post, (without this, default is get) this will:
post - not show any of the information in the browser url,
get - show the info lol username?=enteredtext or something like that.
servlet/phpfile? -
post - activates the doPost method. im not sure if php from files have these methods..
get - activates the doGet method.
thats my expierence with get and post. if it helps then great!! as for the print/echo, its been a long time, from what I remember they have the same functionality... dont quote me on that tho :/
gg