I am using php pdo with postgres. I am using core php, no mvc, no classes and objects. I have some doubts in my mind since i am new to development, :-
And if i use try catch then should i exit the running script on exception
And is there a way to use one try catch for all queries, i mean making a common function for executing queries.
please some one clear my doubts about this.
There are too many questions and they are too generic. But in most cases:
I wrote an article where tried to explain all there matters, PHP Error reporting which you may find interesting.