one question about PHP Development. I am building up some Form Fields for Calculations. Jquery Calculates and sends the Integer Values to a PHP Script via ajax. This Scripts selects some values from a Database, calculates and returns the values to the form field.
Now the question. I am used to Mysql thus I´m using the PHP Mysql functions to select the values. Later the Datasource should be a Postgres SQL. Whats the best programming way to get independent from the datasource. Is there a kind of design pattern to use for this issue?
regards,
Tony
It sounds like you're looking for PDO, the standard SQL abstraction layer for PHP.