how I can hide php error details from end users
I don’t want the end users see my php error details
I modify on php.ini
display_errors = off
and I modify in .htaccess
php_flag display_errors off
and i restart Apache server
but still the error display
I use xampp v3.2.4
2
Answers
You are not supposed to hide the error, you are supposed to fix it so it does not happen again. The message tells you that interior_image_name2 is missing from your table.
From what I can tell your SQL query throws an error, and at this point you application cannot continue because your expected result does not exist.
You either fix your SQL, or you try/catch to see if you have an result before you attempt to work with it.
Try putting following code at the start of your file to stop display error’s in runtime