what is a namespace in php? 1 0 2 years ago 734 views A Namespace in PHP is used to encapsulate the items which are similar to that of abstraction in Object Oriented programming concepts. PHP
how to set cookies in php ? 1 0 2 years ago 735 views A cookie is often used to identify a user. A cookie is a small file that the server embeds on the user's computer. PHP cookies
how to create session in php ? 1 0 2 years ago 667 views A session is started with the session_start() function. Session variables are set with the PHP global variable: $_SESSION. PHP session
what are traits? 1 0 2 years ago 794 views Traits are a mechanism that allows you to create reusable code in languages like PHP where multiple inheritance is not supported. PHP
php variable length argument function 1 0 2 years ago 672 views PHP supports variable length argument function. PHP
explain php parameterized functions. 1 0 2 years ago 757 views PHP parameterized functions are functions with parameters. PHP
how many data types are there in php? 1 0 2 years ago 784 views PHP data types are used to hold different types of data or values. PHP
how can we access the data sent through the url with the get method? 1 0 2 years ago 789 views To access the data sent via the GET method, we use $_GET array like this: PHP
what is the function mysql_pconnect() useful for? 1 0 2 years ago 1195 views mysql_pconnect() ensure a persistent connection to the database PHP
how can we connect to a mysql database from a php script? 1 0 2 years ago 1670 views To be able to connect to a MySQL database, we must use mysqli_connect() function as follows: PHP
what is the use of session_start() and session_destroy() functions in php? 1 0 3 years ago 852 views The session_start() function is used to start a new session. PHP
what are cookies? how to create cookies in php? 1 0 3 years ago 819 views A cookie is a small record that the server installs on the client’s computer. PHP
What does pear stands for? 1 0 3 years ago 799 views PEAR stands for “PHP Extension and Application Repository”. PHP
What is a session in php? 1 0 3 years ago 1270 views A session in PHP is a way to store information to be used across multiple pages of an entire website. PHP