at my link http://dandewebwonders.com/BBProject%204/index.php
when you click on players you see the error..
this is what i need to do ..
change data type from html to json, fix the controller error, and change it to parse the data.data object.
case "listPlayers_Data" :
$response = null;
$results = array();
$players = new PlayersClass();
foreach ($players -> RetrieveAll() as $row) {
$results[] = new PlayerListModel($row -> Id);
}
$response -> data = $results;
echo json_encode($response);
break;
and a link to the project on github
https://github.com/deannariddlespur/bb_Project/blob/master/Controllers/Controller.php