Kiliso
Kiliso
I modified the script a bit stating that if it had to pull the price I make it update in the DB.
``` $marketObj = json_decode(file_get_contents("http://steamcommunity.com/market/priceoverview/?currency=1&appid=730&market_hash_name=$hash"), true); $medianPrice = $marketObj['median_price']; $lowestPrice = $marketObj['lowest_price']; if (isset($medianPrice)) { $price = doubleval(substr($medianPrice, 1)) * 100; $stmt = $db->prepare("UPDATE items SET currentPrice='$price', suggestedPriceMin='0' where marketName =...