Call to undefined function mysql_connect()
If you are encountering this undefined error, then it means that you are trying to use the old mysql_* functions in PHP 7.
Read More...If you are encountering this undefined error, then it means that you are trying to use the old mysql_* functions in PHP 7.
Read More...This is a short PHP tutorial on how to create a simple user logout script that guards against CSRF attacks.
Read More...This is a PHP tutorial on how to check if the operating system is Windows.
Read More...This is a short guide on how to create an infinite loop using PHP.
Read More...This is a basic tutorial on autoloading PHP classes that use namespaces.
Read More...This is a beginners tutorial on how to do basic subtraction in PHP. The aim of this tutorial is to help developers who are completely new to the language.
Read More...This is a short guide on how to send a JavaScript object to a PHP script using an Ajax request.
Read More...A short and simple guide to releasing session locks in PHP.
Read More...A short guide on how to forward HTTPS headers with HAProxy so that PHP knows what protocol is being used.
Read More...Unfortunately, PHP’s SoapClient isn’t great at importing multiple XSD files.
Read More...This is a short tutorial on how to connect to an IMAP email inbox using PHP’s imap functions.
Read More...This is a short guide on how to get the ID of the last inserted row using PDO’s lastInsertId method.
Read More...In this guide, we show you how to generate a random number using PHP. We also explain why you should use the random_int function.
Read More...This is a short tutorial on how to send an Ajax request every 10 seconds – something that is often referred to as polling.
Read More...This is a short guide on how to fix Access-Control-Allow-Origin issues when you are sending Ajax requests.
Read More...In this tutorial, I will show you how to send a 404 Not Found header using PHP.
Read More...Having trouble logging into a new install of phpMyAdmin? This article should save you some time and confusion!
Read More...This is a guide on how to avoid and / or fix one of PHP’s most common fatal errors: The memory exhausted error.
Read More...This is a short tutorial on how to create a simple Reset Password form with PHP and MySQL.
Read More...This is a short PHP tutorial on how to use the wildcard character when using prepared statements with the PDO object.
Read More...In this tutorial, I will show you how to create an Ajax search form using JQuery, PHP and MySQL.
Read More...This is a short guide on how to build a simple search form using PHP and Ajax. In this tutorial, we will use the JQuery library to carry out an Ajax request to a PHP file, which will return our search results.
Read More...This is a short introductory tutorial on how to use “Getters” and “Setters” in PHP.
Read More...This is a short guide on how to use the cURL timeout options in PHP.
Read More...This is a short tutorial on how to send a PUT request using PHP.
Read More...In this guide, we are going to show you how to remove duplicate values from a PHP array.
Read More...This is a common notice / warning that occurs whenever PHP has detected the usage of an undefined constant.
Read More...The function apache_get_version returns a string that contains the version number of the Apache web server that PHP is currently running on.
Read More...This is a quick tutorial on how to cache dynamically generated images in PHP.
Read More...The other day, I was told that the login form for a website I had built had stopped working. I found this very strange, as the site had been working for eight years without any issues.
Read More...This is a simple tutorial on how to use PHP to cache the results of an SQL query to the file system.
Read More...This is a tutorial on how to move files using PHP.
Read More...This is a short tutorial on how to get the last day / date of a given month using PHP.
Read More...This is a guide on how to select all MySQL records from today (or another specified day).
Read More...This is a short and sweet tutorial on how to submit a PHP form (or any HTML form, for that matter) to a new tab using HTML’s target attribute.
Read More...