How to posr these values to my model?

Posted by udaya on Stack Overflow See other posts from Stack Overflow or by udaya
Published on 2010-04-30T05:20:33Z Indexed on 2010/04/30 5:27 UTC
Read the original article Hit count: 248

Filed under:
|

Hi I have the variables like this how can i parse these variables to my model page currently the variable is in my controller

 echo $d['mday'].'-'.$d['mon'].'-'.$d['year']."\n";

I have to pass the value s to my model Iam trying like this but it didnt work

$res['ApproveLeave'] = $this->hostelmodel->putLeave($d);

How can i do that?

© Stack Overflow or respective owner

Related posts about php

Related posts about codeigniter