Home › Forums › Chart Support › PHP foreach loop won't render chart › Reply To: PHP foreach loop won't render chart
@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.
$acct_id
— Vishwas R Team CanvasJS