CakePHP Model or Controller without any database Table

/ Published in: PHP
Save to your folder(s)

Copy this code and paste it in your HTML
  1. //### Creating a model for a table that doesn't actually exist in the database
  2. //### From at :
  3. //###
  5. //Add this in the Model
  6. //or in the Controller if you didn't get anymodel for your controller
  7. var $useTable = false;


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.