Let’s say I want to run same queries on two different databases in ZEND ? What’s the best solution for this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Let me introduce you to ORM.
You might want to download and use Doctrine2 , it hardly takes a day or 2 to learn it and using createQueryBuilder SQL scripting is just easier considering you know the logics to use JOIN, etc.
Try Doctrine CLI for beginning, once you are good to go, you might go manual with it!
Enjoy coding!