XML file generation error - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: XML file generation error (/showthread.php?tid=79086) |
XML file generation error - psreejiths - 04-18-2021 dear all i am trying to generate a XML file and save it into a folder with Codeignitor 4 $xml->save("$path"); is showing error . my controller function is like PHP Code: public function addnewcptcodes($id) please help to clear the error . thanks sreejith RE: XML file generation error - includebeer - 04-18-2021 Hi psreejiths, first can you enclose your code in [ php ] tags, it's easier to read. Also, post what error you get. RE: XML file generation error - includebeer - 04-18-2021 You seem to have trouble adding the [ php ] tags... I did it for you on your original post... What error do you get...? RE: XML file generation error - iRedds - 04-18-2021 base_url() - return URL |