I need this occasion, know how to save the values of c.cat_name
, sc.idSub
and i.numFile
, of the query, to use them later.
$query1 = 'SELECT c.cat_name,sc.idSub,i.numFile from inventory_list as i
inner join category as c on id_category =fkCategory
inner join sub_category as sc on idSub =fkSubCat where numFile = ?';