foreach($archive as $archrow){
echo $archrow->doc_name; //document name
echo $archrow->doc_status; //document status
}
foreach($arc as $arcrow){
echo $arcrow->fullname; //Author
}
foreach($pos as $posrow){
echo $posrow->position_name; //position
}
foreach($loc as $locrow){
echo $locrow->location; //Department
}
i would like to make a table and arrange them by category like this:
________________________________________________________________________________
|Document name | Author | Position | Department | Document Status |
| asdasd | john | Manager | Acct | adsads |