09.08.2018, 16:03
(
Последний раз редактировалось GospodinX; 09.08.2018 в 23:00.
)
Hi guys
I have two tables
1) inventory ( `ID` `userid` , `inv_item`(a item_name ID foreign key) , `inv_amount` )
2) item_name ( `ID` , `name` `weight` )
I have this query for example:
Result: http://prntscr.com/kgp3tz
My question is: How to get item_name from this query(like in picture,how I can use it name in my script?)
I have two tables
1) inventory ( `ID` `userid` , `inv_item`(a item_name ID foreign key) , `inv_amount` )
2) item_name ( `ID` , `name` `weight` )
I have this query for example:
Код:
SELECT * FROM `inventory` WHERE `userid` = '2'
My question is: How to get item_name from this query(like in picture,how I can use it name in my script?)