Jump to content

combining 2 tables


aida

how to display any fields from 2 tables?  

1 member has voted

  1. 1. how to display any fields from 2 tables?

    • get the data from 2 tables
      1
    • retrieve the data from 2 tables
      0


Recommended Posts

i'm about to display certain fields from 2 different tables. the issue is, i don't know how to display it. i have no problem if i just wanna display the data from a asingle table. but, when it comes to call certain fields from 2 different tables, i'd really have no idea.. i do get the idea about the query on phpMyAdmin:

 

SELECT fullname,printer_name,job_type,paper_size

FROM student INNER JOIN printing_transaction

ON student.pcounter_nric=printing_transaction.uid

 

What about on php? how do i want to display using programming?

Link to comment
https://forums.phpfreaks.com/topic/43781-combining-2-tables/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.