How-to articles, tricks, and solutions about PHP
Reference — What does this symbol mean in PHP?
In PHP, $this is a special variable that refers to the current object.
Convert flat array to a delimited string to be saved in the database
You can use the implode() function to convert an array to a delimited string in PHP.
Get URL query string parameters
To get the query string parameters in PHP, you can use the $_GET superglobal array.
Remove trailing delimiting character from a delimited string
To remove the trailing delimiter from a delimited string in PHP, you can use the rtrim function.
How can I prevent SQL injection in PHP?
There are several ways to prevent SQL injection attacks in PHP.