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 trial
Luis Palma
7,869 PointsModifying Model Code
Hi there I'm working in modifying the model Code and I have wrote the code in the products file if I want connect with the database the only one thing I see is:
Warning: include(C:/xampp/htdocs/inc/products.php): failed to open stream: No such file or directory in C:\xampp\htdocs\shirts4mike\index.php on line 4
Warning: include(): Failed opening 'C:/xampp/htdocs/inc/products.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\shirts4mike\index.php on line 4
Fatal error: Call to undefined function get_products_recent() in C:\xampp\htdocs\shirts4mike\index.php on line 5 I have wrote the code several times and always the same Somebody can help me.