with the little understanding of php wht i hav understood is that.. we use request whn v use certain data frm the same page and use the database.. in case of post v use it whn v hav to get the data frm a different page.. forget get for the time being.... how far is my conception right??????????????/
nostalgia149 0 Newbie Poster
Recommended Answers
Jump to Post$_REQUEST: is sort of a combination of the two, any vars in either $_GET or $_POST will appear in $_REQUEST. However, most experienced programmers will warn you against using this for various reasons, rather just stick to $_GET and $_POST.
$_REQUEST
Also includes$_COOKIE
.
Jump to Postthanks ShawnCplus.. so do u advice all newbies to use $_GET instead of $_REQUEST... and use it in the same way as $_REQUEST.
Well, not only get but use $_GET, $_POST, and $_COOKIE separately. Also, never mix REQUEST and the others. Even though REQUEST contains the data it is treated …
All 5 Replies
Menster 38 Junior Poster
ShawnCplus 456 Code Monkey Team Colleague
nostalgia149 0 Newbie Poster
ShawnCplus 456 Code Monkey Team Colleague
nostalgia149 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.