2do test"; $t = new Task(10,'testNico','laDescription','urgent','001'); //include("../dal/Connection.php"); include("credentials.php"); $con = new Connection('mysql:host=localhost;dbname=phpproject',$user,$pass); $tgt = new TaskGateway($con); $tgt->insert($t); ?>