Collections:
Turning Off PHP Warning Messages for MSSQL Connection
How To Turn Off Warning Messages during PHP Execution?
✍: Guest
If don't want see warning messages generated from the PHP engine when executing PHP scripts, you can change the error_reporting setting in the php.ini configuration file.
Open php.ini and change the following lines:
;error_reporting = E_ALL & ~E_NOTICE error_reporting = E_ALL & ~E_WARNING
Now run the script in the previous tutorial again, you will not see the warning messages from the PHP engine:
Execution failed: Error: Cannot drop the table 'fyi.center', because it does not exist or you do not have permission.
⇒ Returning Result from Query with MSSQL Connection
⇐ mssql_get_last_message() - Retrieving Error Messages
⇑ SQL Server FAQs - PHP MSSQL Functions - Connections and Query Execution
2024-03-23, 2046🔥, 0💬
Popular Posts:
How To Convert Binary Strings into Hexadecimal Character Strings in SQL Server? When a query returns...
How To Divide Query Output into Multiple Groups with the GROUP BY Clause in SQL Server? Sometimes, y...
Where Is the Export Dump File Located in Oracle? If you are not specifying the dump directory and fi...
How To Round a Numeric Value To a Specific Precision in SQL Server Transact-SQL? Sometimes you need ...
Is SQL Server Transact-SQL case sensitive? No. Transact-SQL is not case sensitive. Like the standard...