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 Adding a Contact Form Redirecting After a Form Submission

Why is he using ’ for apostrophes rather than just typing an apostrophe on the keyboard?

On the PHP track, I've noticed Randy uses the ascii code ’ for apostrophes. Why not just type an apostrophe though?

2 Answers

Hi, i think that you can find the answer to your question a this link. I Hope this can help.

Have a nice day. Stefano Sarioli

jo vo
PLUS
jo vo
Courses Plus Student 4,830 Points

If you explicitly specify " charset = 'UTF-8' in your head section in the html file, you can just use the '