Here is what I have
// User Controller
class UserController extends Zend_Controller_Action
{
public function indexAction() {
// Logic Code
echo 'UserController';
$user = new UserModel();
var_dump($user);
$row = $user->find(1);
var_dump($row);
}
}
// User Model
require_once 'Zend/Db/Table/Abstract.php';
class UserModel extends Zend_Db_Table_Abstract {
/**
* The default table name
*/
protected $_name = 'user';
protected $_primary = 'id';
}
However when i go to http://josephcrawford.dev/user/ All I see is the
echo statement from the controller.