Like all other web languages, PHP also provides Cookies to store some data for a long time on the client-side. What is a Cookie in PHP? A cookie is a global constant in PHP. Cookies help store user data at the client-side for a long time. It can be accessed through any PHP file within […]
Latest Articles
What Is the Difference Between Session and Cookies in PHP
Session and cookies are used to store the user data as a global constant for the entire website. Even more, sessions and cookies both store data at client-side local storage of the browser now, if both global constants have the same ability and functionality, how they are different from each other. Session vs Cookies As […]
How to Echo New Line in PHP
There are several ways to print a new line in PHP. A line break is quite an important factor in content formatting and organization. Also, content management is required for a better user experience of the website. Echo New Line in PHP Line break helps to make content more readable with proper usage. There are […]
What Is File_get_contents in PHP
File_get_contents() is one of the popular file handling functions in PHP. There are other similar file handling functions like read() and file(). However file_get_contents() function has its own advantages among all others. File_get_contents() Function The primary usage of the file_get_contents() is to read the specified file. It also provides extra features like from where to […]
[SOLUTION] Fatal Error: Uncaught Error: Call to Undefined Function Mysql_connect()
If you are getting “fatal error: uncaught error: Call to undefined function mysql_connect()” in your PHP project, then do not worry. Because here, we will resolve the call to undefined function mysql_connect() error step by step. Solution: Call to Undefined Function Mysql_connect() To solve the Fatal Error: Uncaught Error: Call to Undefined Function Mysql_connect(), first of […]
