Hot answers tagged

1

I get the solution by the help of @mickmackusa and using this forum link https://forum.joomla.org/viewtopic.php?t=592653. My final code is now $table = JTable::getInstance('Category'); $data = array('id' => 0, 'parent_id' = 1, 'path' => 'demo', 'level' => 1, 'title' => 'demo'); if ($table->bind($data)) { if ($table->store(true)) { ...


Only top voted, non community-wiki answers of a minimum length are eligible