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

Ed Johnson
Ed Johnson
1,069 Points

Redirect isn't working

I've followed the tutorial several times, and i keep getting stuck on the first question. As i input the information into the text areas and submit the redirect does not take be back to books.php.

1 Answer

it will be good if you can post your code here, to help us help you better. anyway you might be typing this code incorrect to have cost the redirect to fail, secondary a redirect may fail if any html code get passed to the browser, it all depends on where you are using this redirect code.