CodeIgniter Forums
Getting ecxtra caracter when displaying array in view - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forum-28.html)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forum-30.html)
+--- Thread: Getting ecxtra caracter when displaying array in view (/thread-80291.html)



Getting ecxtra caracter when displaying array in view - bylka06 - 10-13-2021

hello, so i get an extra caracter (1) when i'm trying to display an array that i passed from my controller to the view.
Screenshot link : https://ibb.co/Wn5G8pb
My view : https://pastebin.com/Hjwd2MUL
My controller function  :  https://pastebin.com/FDJxAzbk
My controller : https://pastebin.com/TbLhUMVW


RE: Getting ecxtra caracter when displaying array in view - includebeer - 10-13-2021

Maybe post only the relevant lines... I don't know for others, but I won't review 500 lines of code...