CakePHP query additions in controller

I am migrating raw PHP code to CakePHP and have some problems. As I have big problems with query to ORM transformation I temporary use raw SQL. All is going nice, but I met the ugly code and don’t...

SQL Database to php website with javascript

I seem to be stuck on a concept in database query and website development.I have a website that will reflect what data is stored in a database and the website needs to change depending on that data: therefore,...