- // Update Inventory on this item
- $inv_update_query = " UPDATE $table SET $table.product_qty + 5 WHERE $table.products_id = 39591 ";
- $inv_update = mysql_query($inv_update_query);
- // Gets the data from the database
- $result = mysql_query($sql_query);
- $fields_cnt = mysql_num_fields($result);