CodeIgniter Forums
Convert int(10) in DB to text in view file - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Convert int(10) in DB to text in view file (/thread-48206.html)



Convert int(10) in DB to text in view file - El Forum - 01-08-2012

[eluser]the_unforgiven[/eluser]
I have some code that pulls all the data from the DB but when i pull
Code:
$row['category']
it shows has a number. So my question is how can i saw it as text?