How-to articles, tricks, and solutions about PHP
How to properly set up a PDO connection
To set up a PDO connection, you will need to do the following:
How to remove "index.php" in codeigniter's path
To remove "index.php" from the URL in CodeIgniter, you can use the .htaccess file.
How to remove a variable from a PHP session array
To remove a variable from a PHP session array, you can use the unset() function.
How to remove line breaks (no characters!) from the string?
There are a few different ways to remove line breaks from a string in PHP. Here are two options.