Error Displaying Query

QuestionsError Displaying Query
Anand asked 5 years ago

In select query having error means its openly displaying query. I don’t want to display the query openly in browser what i want do for that. if error in query means only display the custom message don’t display the query.

 

Thank you,

1 Answers
Anand answered 5 years ago

Hi Abu,

I found Answer,

 

$g->debug = 0;
$g->error_msg = “System was unable to process your request. Please contact technical support.”;

 

Thanks,

Your Answer

5 + 10 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?