[Solved] Not getting column from database correct? |
I have created a set_language library where I can get the language code from my setting table and at the moment it is set as en.
So when I do this <?php echo $this->set_language->get_lang() ;?> it echos out en which is correct. How ever when I try to get the directory value from my language table where code is en it does not return value. It should return directory name english. What have I done wrong on my lang() function I have attached two images of database. PHP Code: <?php Quote:Error Number: 1064 Any suggestions thanks in advance.
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
[Solved] Not getting column from database correct? - by wolfgang1983 - 12-16-2015, 11:49 PM
RE: Not getting column from database correct? - by wolfgang1983 - 12-17-2015, 03:10 AM
|