🔒 Closed Student record system using codeigniter framework

Status
Not open for further replies.

vortex78

Fanatic
mga idol nagawa po kasi ako ng system ngayon about student record management system. tapos po yung student information at student record ay magkabukod ang database table. ask ko lang po mga idol. pano po kaya madidisplay yung laman nung 2 database table through ID para makita ang record ng bawat student. maraming salamat po mga idol. sana matulongan nyu ako.
 
Using mysql

Code:
SELECT <...>
FROM A.table1 t1 JOIN B.table2 t2 ON t2.column2 = t1.column1;

*Depende na po sa ID ng table at ID ng item kung specific ang pag display nyo
 
Using mysql

Code:
SELECT <...>
FROM A.table1 t1 JOIN B.table2 t2 ON t2.column2 = t1.column1;

*Depende na po sa ID ng table at ID ng item kung specific ang pag display nyo
naka foreign key yung id idol. pwede kaya sa codeigniter yan?
 
try this code:

$this->db->join('table1', 'table1.id' = 'table2.id');
$query = $this->db->get();

return $query->result_array();
 
Status
Not open for further replies.

About this Thread

  • 9
    Replies
  • 1K
    Views
  • 7
    Participants
Last reply from:
roveglenton123

Trending Topics

Online now

Members online
336
Guests online
702
Total visitors
1,038

Forum statistics

Threads
2,281,811
Posts
29,004,086
Members
1,224,611
Latest member
Ashborn
Back
Top