6
Well, what I want is this:
I have 1 table designated by items, in this table I have 4 columns:
- nomeitem
- iditem (Single id)
- numerobot
What I intend to do is: I want to do a mysql_num_rows of all results, but for each different item name.
That is to say I have 10 results with the name "Shadow Case", 15 results with the name "Gamma Case".
What I intend to do is to do this, so that you know the amount of each item I have.
To finish I intend to take these values, and update another table that is called infoitems. This table only has 2 columns that are item and quantity, where in the quantity I intend to put the respective previous result, for each item.
I hope you understand me.
I just don’t understand why you feed another table and you can run a script to get this data at any time. These data will not be consolidated in the table?
– Maurivan