Jump to content

[SOLVED] Grab data from different tables


ShaolinF

Recommended Posts

Hi Guys,

 

I have 3 tables and I want to derive certain columns from all three of them. See the tables below (The text highlighted in bold red are the columns I want to extract):

 

 

 

 

 

 

 

 

 

users table:

userid, name, contactNo, email, gender

 

purchase table:

purchaseid, userid, eventid, noOfTicketsPurchased, totalPrice, process_timestamp, pp_payment_status

 

event table:

eventid, eventName, TicketsOnSale, TicketPrice, setevent

 

 

Link to comment
https://forums.phpfreaks.com/topic/88958-solved-grab-data-from-different-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.