Tags » Cakephp

Add Multiple Images in Cakephp

View Page:

<?php echo $this->Form->create(‘Model’, array(‘type’ => ‘file’,’enctype’=>’multipart/form-data’, ‘class’ => ‘form-horizontal’,’action’ => ‘addfiles’)); ?>

<?php echo $this->Form->input(‘attachment.’, array( ‘type’ => ‘file’, ‘multiple’, ‘required’ => false)); ?> 181 more words


Login Application

Hello All,

In previous tutorial we have setup CakePHP framework. and now we will create simple login module.

1. For login module we need to create Model, View and Controller. 219 more words


CakePHP 3.0.2 installation

I ran into trouble setting up authentication with CakePHP 2.6.2. Given the choice between two branches, I usually choose the newer one. I decided it would be a good time to install CakePHP 3.0.2. 298 more words


Simple Cakephp Pagination

Cakephp provides a quick an easy way to paginate data.

In the controller we start by creating the pagination condition as given below :

  1. public $paginate = array(

  2. 89 more words

Not Condition in Cakephp Query

'conditions' =>array('not' => array('city'=>NULL),'not' => array('city'=>""))