Question: - Write PHP code that connect to the database server using PDO (PHP Data Object) if some error occurred you need to show the message

- Write PHP code that connect to the database server using PDO (PHP Data Object) if some error occurred you need to show the message "Some error occurred, Try again later", the text should appear in red color and the font size should be double of the default font size of the browser. - Write PHP code that use the PDO that you crated before to show a table that contain two columns the first column contains the name and the second columns contain the total cost, the headers for the columns are "Name" and Total Cost
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
