I have an array I wish to loop through and apply some SQL if the record exists. I have something Like this:
$discontinuedProducts = ["MTUC7000AWS","MTUC7000AWB"];
$updateDiscontinuedProductsToInactive = mysql_query("UPDATE 'table_name' SET 'available_for_order' = 0 WHERE 'product_id' = $discontinuedProducts ");
but I think my code isn't even executing, they're just being declared.