php - I cant display data in textbox for update data using yii framework -
I'm new to the yii framework I'm trying to edit the data , I use the text box Can not display data in, the first step of update data. My Controller is I got the error My view file If the name of your model is a user, then active records will be similar: sitecontroller.php , my view file
update-jobseeker.php . I have 5 tables
user ,
job_seeker_profile ,
job_profile ,
location , and
category .
"Fatal error: Call on a member function on attribute referrals () at a non object in C: \ wamp \ www \ yii_new \ framework \ web \ helpers \ CHtml.php My Controller is
site controller , this action is:
update_jobseeker.php
$ criteria = new cdccitrea (); $ Criteria- & gt; Join = 'Jobseeker_profile' on T.ID = s.user_id on Internal Job _profile j On t.id = j.user_id instead of joining l.id = s.location_id on the Inner Inner category category C on c.id = J.category_id '; $ Criteria- & gt; Compare ('tid.id', id); $ Model = user :: model () - & gt; Search ($ criteria);
Comments
Post a Comment