Tech Mahindra interview question

1. Write the statements for connecting to a database using PHP.