I am wondering if anyone can help me, I have these tables:
tbl_search_history(id,fld_user_id,fld_username_fld_make_id,fld_model_id,fld_year_id,fld_category_id)
The fld_make
is the name of the make:
tbl_make(id,fld_make)
The fld_model
is the name of that model
tbl_model(id,fld_model)
The fld_year
is the name of that year
tbl_year(id, fld_year)
The fld_category
is the name of that category
tbl_category(id,fld_category)
Now I need to show a table in my page in which I need to have this fields: make
, model
, year
, and category
. I also want to know how can I have the make
, model
, year
, and category names (instead of just the reference numbers from the tbl_search_history
) in my page? Would you please give me a piece of code and a brief explanation?
Thanks in advance!