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!
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 Make post go to specific column in database
Hi, i have a website i'm making for a customer and i have two categories. Now the thing is, i made a function in php where the admins can add categories. Where they go into the categories.php and add the category they want and that get's added as an column in a database table i made called categories. Now this is a social site where i wan't people to make their own posts kinda like Facebook. Now i want to make some code that make's the posts go straight to the second category they made. It won't change! How should i do this?