Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function GetWikiPostArticle()
- {
- $this->db->select('article.*,A.id as Aid,A.title as Atitle,A.shorttext as Ashorttext,A.full_text as Afull_text,A.picture as Apicture,A.auther as Aauther,A.date as Adate,A.view as Aview,A.liked as Aliked,A.level as Alevel,A.parent_article as Aparent_article,A.random as Arandom');
- $this->db->from('article as A');
- $this->db->join('article', 'A.id = article.parent_article');
- $query = $this->db->get();
- return $query;
- }
- Error Number: 1054
- Unknown column 'A.level' in 'field list'
- SELECT `article`.*, `A`.`id` as `Aid`, `A`.`title` as `Atitle`, `A`.`shorttext` as `Ashorttext`, `A`.`full_text` as `Afull_text`, `A`.`picture` as `Apicture`, `A`.`auther` as `Aauther`, `A`.`date` as `Adate`, `A`.`view` as `Aview`, `A`.`liked` as `Aliked`, `A`.`level` as `Alevel`, `A`.`parent_article` as `Aparent_article`, `A`.`random` as `Arandom` FROM `article` as `A` JOIN `article` ON `A`.`id` = `article`.`parent_article`
- Filename: models/M_cleint.php
- Line Number: 38
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement