Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 24th, 2012  |  syntax: None  |  size: 0.29 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. // Update Inventory on this item
  2. $inv_update_query = " UPDATE $table SET $table.product_qty + 5 WHERE $table.products_id = 39591 ";
  3. $inv_update = mysql_query($inv_update_query);
  4.  
  5. // Gets the data from the database
  6. $result = mysql_query($sql_query);
  7. $fields_cnt = mysql_num_fields($result);