Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Catering for postgres and mysql
08-27-2013, 12:46 PM
Post: #1
Catering for postgres and mysql
Hi everyone,

I have seen in the code that we are using mysql(i) specific functions and so i have also used these.

However, I see we have a postgres connect function.

Should we then be testing for db type and using the appropriate function in the code for example pg_escape_string vs mysqli_escape_string in the code?

Alternatively, is there work perhaps that needs to be done, or in progress that will provides suitable interface to handle these database specific functions ?

I will continue as is for now, but happy to address the above if necessary.

Thanks for your help in advance!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Catering for postgres and mysql - icedlava - 08-27-2013 12:46 PM
RE: Catering for postgres and mysql - phil - 08-27-2013, 07:37 PM
RE: Catering for postgres and mysql - phil - 09-01-2013, 05:06 PM
RE: Catering for postgres and mysql - phil - 09-04-2013, 06:53 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)