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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Daniel Amazigo](https://uploads.teamtreehouse.com/production/profile-photos/4731672/micro_IMG_20160131_174137_-256253000.jpg)
Daniel Amazigo
Courses Plus Student 11,357 PointsBook does not get added and I'm not redirected to desired page.
Well, I've followed this video step by step, ensuring double quotes are used when required, no bit of syntax is left out, and I think I understood a good part of the logic, but after several attempts, I don't know why everything Alena did in the video didn't give me the same results i.e the page redirection and the book added to the book list.
3 Answers
![Daniel Amazigo](https://uploads.teamtreehouse.com/production/profile-photos/4731672/micro_IMG_20160131_174137_-256253000.jpg)
Daniel Amazigo
Courses Plus Student 11,357 PointsHi Charl,
Thanks for getting back to me so quick. I'm working in the online workspace.
![Glenré Charl Labuschagné](https://secure.gravatar.com/avatar/6f7e414900e96c081632645abdb7505c?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Glenré Charl Labuschagné
23,204 PointsWould you kindly please share your workspace for me to better assist.
![Daniel Amazigo](https://uploads.teamtreehouse.com/production/profile-photos/4731672/micro_IMG_20160131_174137_-256253000.jpg)
Daniel Amazigo
Courses Plus Student 11,357 PointsHi Charl,
I believe this is a snapshot of my workspace for this: https://w.trhou.se/pkez4ss8oe
![Glenré Charl Labuschagné](https://secure.gravatar.com/avatar/6f7e414900e96c081632645abdb7505c?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Glenré Charl Labuschagné
23,204 PointsHi Daniel. Thank you for sharing your workspace. In your addBook.php file you are missing the php tag on line 1. After adding it, all works fine. Good job and keep on coding.
![Daniel Amazigo](https://uploads.teamtreehouse.com/production/profile-photos/4731672/micro_IMG_20160131_174137_-256253000.jpg)
Daniel Amazigo
Courses Plus Student 11,357 PointsOh my word! Thanks a lot Charl. In going through the syntax I missed checking the very first line of that file. That indeed shows that anyone could miss anything when writing code. Works like a charm now.
Glenré Charl Labuschagné
23,204 PointsGlenré Charl Labuschagné
23,204 PointsHi Daniel, are you working locally or in the online workspace?