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 Integrating with PayPal Creating Paypal Buttons

Barry Deck
Barry Deck
4,016 Points

Why is it that when I use the code for the button in a page called form.php, it isn't read by my 2014 browsers?

Paypal's experiential flows have been re-done as well. I was still able to get through the exercise, and the code it gave me to paste in was the same as yours. So far, though, I have no button to test by selecting a size and clicking, therefore I haven't been able to test the shopping cart. Will this hamper my ability to finish this segment or the site?

Barry Deck
Barry Deck
4,016 Points

Also, the code shows all in white in Sublime Text. What do I need to do to make it work with today's code and browsers?

Chris Shaw
Chris Shaw
26,676 Points

What is the code you're using as PayPal's buttons have no issues with any browser given you're using IE7+

Barry Deck
Barry Deck
4,016 Points

Thanks, Chris. All fixed. It was a missing tag.

1 Answer

Hey Barry, have you made sure you have a PHP tag at the beginning of the file: <?php

Barry Deck
Barry Deck
4,016 Points

Dustin, yep, you were right! Thanks.