PHP is a middleware language.It is used for web programming. It was invented by Rasmus Lerdolf. Nowadays, people use PHP with version 4 and 5. Generally, both of them dont have any contras differences. PHP 5 is more Object Oriented, so some people say PHP 5 is more secure than PHP4.
In PHP 5, to access variable, we need to know what type of method that we need to use. For example, we want to access variable which we fetch from form, so we use method POST. So to access a variable from form, we say that the variable's name is username, then we need to type $_POST['username'], if we want to fetch variable from address bar, we use GET method like $_GET['productID']
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment