2do test"; # nouvelle tache $t = new Task(5,'tacheNotErr','desc.','urgent','001'); # connection include("credentials.php"); $con = new Connection('mysql:host=localhost;dbname=phpproject',$user,$pass); # gateway $tgt = new TaskGateway($con); //$tgt->insert($t); //$tgt->delete('10'); /* # test find $tasks=$tgt->find('idList','001'); foreach($tasks as $i) echo $i->get_id()."
"; */