The data that is called in chart does not match the database

1👍

The problem is your data – in the beginning, I was wondering where your systems even gets the 762 from. If you take a look at your table, you’ll see that ARINDO has the value 9,364,762,121 at the index 3 and that , is your entry delimiter. So we have 2 more commas in here, meaning that the 5th value becomes 762. You have to replace the , in your echo $data->Jan19 . ", "; call:

 echo str_replace(",","",$data->Jan19). ", ";

Leave a comment