Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Databases Programming Interviews:BtrieveClipperData ModelingData StructuresDatabase AdministrationDatabase Administrator (DBA)Database AnalystDatabase DeveloperDB DevelopmentEDI/Data Integration ExpertFirebirdHierarchicalIBM DB2InformixJava DatabaseMariaDBMicrosoft Access DeveloperMongoDBMS SQL ServerMySQL ProgrammingNetworkNoSQLObject RelationalPostgrePostgreSQLProgressRDBMSRelationalSQLSQL AdministratorSQL and PL/SQLSQL Notification ServicesSQL server 2008SSRSStored ProcedureSybaseTeradata
Copyright © 2018. All Rights Reserved
MS SQL Server Interview Question:
How To Turn Off Warning Messages during PHP Execution?
Submitted by: AdministratorIf 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:
State: S0002
Error: [Microsoft][ODBC SQL Server Driver][SQL Server]
Cannot drop the table 'GlobalGuideLine', because it does not
exist or you do not have permission.
Submitted by: Administrator
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:
State: S0002
Error: [Microsoft][ODBC SQL Server Driver][SQL Server]
Cannot drop the table 'GlobalGuideLine', because it does not
exist or you do not have permission.
Submitted by: Administrator
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.