I'm using mysql and php for fetching data.
These are my 3 tables.
- sales
uid
=>primaryfname
(varchar) - meeting_details
uid
=>foreign/date_time
(varchar) - travels
uid
=>foreign/date_of_travel
(varchar)
I have a bootstrap datepicker. With the help of this I want to fetch
data of particular fname
from sales
table and fetch records from
meeting_details
and travels
.
If I select fname
from dropdown then there should be fetch 2 tables of
particular user.
I want to create a join query for this.