I want to display custom message when sql queries fail in q2a.
Instead of showing entire table and red color error.
Example in mysqli -
echo "Error creating table: " . $conn->error;
How to show custom message for q2a query errors.
1. table already exists
2. sql query failed