I am trying to use yii editable, I am using following code:
<?php $this->widget('bootstrap.widgets.TbEditableField', array( 'type' => 'select', 'model' => $data, 'emptytext' => $Monday[$time], 'attribute' => 'monday', 'url' => $this->createUrl('staffhours/updatetime&time='.$time), //url for submit data 'source' => array('Open', 'Close', 'Away'), 'enabled' => true )); ?>
In this I am passing time starting from 12:00 AM to 11:59 PM using for loop in the gap of 15 mins, in the begining I am passing 12:00 AM, but when next time when the value of $time= 12:15PM, then at url it is sending only 12:00AM, why this is so ?? please help ..