Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialimad saci
Courses Plus Student 173 Pointsplease check my code and tell me where is the mistake
<?php require 'Slim.php';
$app = new \Slim\Slim();
$app->get('/hello'), function() use($app) { $app->render('index.php') ; } ;
$app->run();
?> and thank you
<?php
require 'Slim.php';
$app = new \Slim\Slim();
$app->get('/hello', function() use($app) {
$app->render('index.php');
};
$app->run();
?>
1 Answer
Benjamin Payne
8,142 PointsHey Imad, Are you still having an issue with this? Whats it doing or not doing?
Ben