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

PHP Build a Simple PHP Application Wrapping Up The Project Using A Third-Party Library

ryan champin
ryan champin
16,836 Points

phpmailer issue

i have a feeling theres a connection or file issue with mine. The code all works untill we add the require once for the phpmailer and the mail object. i also wasnt able to put my images in an image folder...i had to put them in my css folder for them to work....any ideas?

Kazimierz Matan
Kazimierz Matan
13,257 Points
  1. Are you working on a localhost (MAMP/XAMPP etc.)?
  2. You can't put files to images folder (upload them in this folder) or just ypu don't see them on the page when you call the script?
Keith Doyle
Keith Doyle
25,973 Points

Can you post your code sections and file structure?

1 Answer

Michal Kurtulík
Michal Kurtulík
9,203 Points

try enable display error mesages or try open error log an find it where is problem :)