/** * Function updates the changes made in the FAQ * at the admin side * * @return array */ function edit() { include_once 'classes/Core/CFaq.php'; include_once 'classes/Display/DFaq.php'; $result = Core_CFaq::edit(); Model_MFaq::addFaq($result); $_SESSION['msgfaqadded'] = 'Faq Edited successfully!'; header('Location:?do=faq'); exit; }