Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.