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

Thiago Nogueira
Thiago Nogueira
8,411 Points

How can I create a wishlist? i.e the user selects a certain product and it goes to the wishlist.

I really wanted some references, i dont know where to start from.

i.e. http://north.fuelthemes.net/wishlist/view/

1 Answer

Hey ! I m not familiar a lot with PHP, but that seems to me the job of a dynamic array ! where you would store each customer wish ! if you already had a step in objects, try to declare your array as a property of your customer object !

I hope this would help !

Thiago Nogueira
Thiago Nogueira
8,411 Points

Thanks Ayoub,

Im going to looking into Arrays! I havent figured it out yet!