What are the best practices for handling column names with special characters in PHP queries?

When handling column names with special characters in PHP queries, it is best practice to use backticks (`) around the column names in the SQL query to ensure that the query is properly executed and the column names are interpreted correctly by the database server.

// Example query with backticks around column names
$query = "SELECT `column_name`, `another_column` FROM `table_name` WHERE `some_condition` = 'some_value'";