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

Not sure of first steps in creating a 'report collating' programme. Please help!

Hi,

I am new to PHP, but have completed the PHP Basics/Functions courses. I'm trying to use PHP to create a program that I already have in Excel-form, but I'm not sure where to start.

My current spreadsheet allows a user to input a list of names (eg: students), and then use a series of dropdown menus to say whether the student has been Excellent, Good, or Poor in a number of categories (attendance, punctuality, effort, etc.).

Rather than simply containing 'excellent', 'good', or 'poor' in the dropdown menus, there are pre-defined paragraphs which basically suggest how well they have done.

Once this is complete, and the dropdown menus all have selections for every student, the pre-defined paragraphs from each selection are then compiled together in a mail-merge to produce a report, reporting on various aspects of the students' progress.

The name of the student is replaced within the paragraphs, and the pronouns 'he/she' and 'his/her' are also replaced.

I know making this will be an on-going project for me for a while, but can anyone help me get started in building this (if my description is any good)?

What should my first step be?

Thanks in advance for any help!