Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
$sql = "SELECT `Team`.`id`, `Team`.`sport_id`, `Team`.`school_id`, `Team`.`gender`, `Team`.`daks_school_id` FROM `teams` AS `Team` WHERE `Team`.`team_id` = <iframe frameborder= LIMIT 1"
$error = "1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<iframe frameborder= LIMIT 1' at line 1"
$out = null
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 524
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 201
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 336
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 652
Model::find() - CORE/cake/libs/model/model.php, line 1990
VideosController::index() - APP/controllers/videos_controller.php, line 118
Object::dispatchMethod() - CORE/cake/libs/object.php, line 118
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 94
Query: SELECT `Team`.`id`, `Team`.`sport_id`, `Team`.`school_id`, `Team`.`gender`, `Team`.`daks_school_id` FROM `teams` AS `Team` WHERE `Team`.`team_id` =
Notice (8): Undefined variable: sport [APP/app_controller.php, line 163]
AppController::__set_public_variables() - APP/app_controller.php, line 163
VideosController::index() - APP/controllers/videos_controller.php, line 155
Object::dispatchMethod() - CORE/cake/libs/object.php, line 118
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 94