Hi!
I am a new bee in cakePHP, look at following scenario
I have following tables structure
---
*Table name: events*
Field Type Null Default
do this
try like this
$this-request-data['Event']['name']
= $this-request-data['Event']['name'];
$this-request-data['Event']['venue']
= $this-request-data['Event']['venue'];
and then do save all..
$this-Event-save($this-request-data);
in this way only name and venue will be
$this-request-data['Event]['image] = false;
OR
unset($this-request-data['Event]['image]);
$this-Event-save($this-request-data);
Andras Kende
On Aug 7, 2013, at 6:01 AM, kapil agrawal kapilagrawal...@gmail.com wrote:
Hi!
I am a new bee in cakePHP, look at following scenario
I have
Please first take a look at the piece of code below:
if (isset($this-data['availableInstructors']))
foreach ($this-data['availableInstructors'] as $key=
$value)
{
$this-UserCourse-data['user_id']=$key;
$this-UserCourse-data['course_id']=$this-