Home forums Using CanvasJS PHP foreach loop won't render chart Reply To: PHP foreach loop won't render chart

#22890

Vishwas R
Keymaster

@don-leesuccessrocket-io,

In the code that you have shared, connection to database is not established and the variable $acct_id is not declared which you are passing in the query. Fixing these two issues should work fine in your case. Please download the working code here.


Vishwas R
Team CanvasJS