Sim Posted April 14, 2020 Share Posted April 14, 2020 I can either add one of these or the other. $classes is form data, submitted from the form. SkillInfo is an array for the #eacin the tpl $this->html .= $this->page->buildElement("classForm", $classes); //$this->html .= $this->page->buildElement("classForm", $array("skills" => $skillInfo)); . I can't see to use both of these for some reason. Anyone got the answer? Quote Link to comment Share on other sites More sharing options...
Dayo Posted April 14, 2020 Share Posted April 14, 2020 You are using $array( and not array( Quote Link to comment Share on other sites More sharing options...
Sim Posted April 14, 2020 Author Share Posted April 14, 2020 I seen that, but wasn't y problem. This the fix $classes['skills'] = $skillInfo; $this->html .= $this->page->buildElement("classForm", $classes); Skills array from the query. Class an array from the methodData. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.