I have a json file that looks like this
[{
"name":"P90 | Asiimov (Field-Tested)",
"url":"http:\/\/steamcommunity.com\/market\/listings\/730\/P90%20%7C%20Asiimov%20%28Field-Tested%29\"id=\"resultlink_0",
"price":"<span style=\"color:white\">8.35 USD<\/span>
","image":"http:\/\/steamcommunity-a.akamaihd.net\/economy\/image\/fWFc82js0fmoRAP-qOIPu5THSWqfSmTELLqcUywGkijVjZYMUrsm1j-9xgEObwgfEh_nvjlWhNzZCveCDfIBj98xqodQ2CZknz5rbbOKMyJYYl2STKFNVfw3-x7TBCI24dJuGoOy8-0EKgrv5YaVMbgkOIpJTcbSU_OFYwuo7UIxg_JafJCMqXvqjn_3ejBdkE3axU4\/62fx62f",
"quantity":"71",
"game":"Counter-Strike: Global Offensive"
}]
...
When i want to diplay it i use this code
...
<tr>
<td><?php echo $data->name; ?></td>
<td><img src="<?php echo $data->image; ?>" /></td>
<td><?php echo $data->game; ?></td>
<td style="background:black"><?php echo $data->price; ?></td>
<td><?php echo (int)str_replace(',','',$data->quantity); ?></td>
<td><a target="blank" href="<?php echo $data->url; ?>">Buy</a></td>
</tr>
...
Now the problem is that the color of price is always white, i tryed to change the style of table but color is not changeing.
Any ideas?