How-to articles, tricks, and solutions about PHP
Connect to SQL Server through PDO using SQL Server Driver
Here is an example of how to connect to a SQL Server database using PDO and the SQL Server driver:
How to remove "index.php" in codeigniter's path
To remove "index.php" from the URL in CodeIgniter, you can use the .htaccess file.
Getting all request parameters in Symfony 2
In Symfony 2, you can use the $request->request object to get all request parameters.
Where are $_SESSION variables stored?
In PHP, $_SESSION variables are typically stored on the server in a file or a database.
if block inside echo statement?
It is not possible to include an "if" block inside an "echo" statement in PHP.
How to escape strings in SQL Server using PHP?
In PHP, you can use the sqlsrv_real_escape_string() function to escape strings in SQL Server.
TCPDF Save file to folder?
To save a file generated by TCPDF to a specific folder, you can use the TCPDF "Output" function.
Way to get all alphabetic chars in an array in PHP?
You can use the range() function to get all alphabetic characters in an array in PHP.