as stated I’m working on a health site (currently my year 2 CS project). Currently the user needs to insert values for their blood pressure, LDL, HDL, HbA1c, waist measurement and if they smoke or not. Each of these measurements will give them up to 10 marks for a total of 60.
Let say a user insert 130 for his blood pressure, after the calculation he would obtain 8 as health score for blood pressure, now, for example, the site would suggest him either to eat less salty(this will give 3 points), or eat a balanced diet(this will give him 1 point) so as to raise its blood pressure score up to 10. He can’t get a score of more than 10. Another example, let say he inserted 1.4 for HDL, this will give 10 marks and the site will either grays out the activities that can raised it HDL or hide them completely.
My problem is I don’t know-how to suggest these activities in a php file.
Any websites, manuals, tutorials or videos will be of great help.
Here the link to the php file that will output his result -> https://drive.google.com/open?id=1y7O0hR260ZNgqEVRUxdztHwX–4BV55B
Here the link to the php file that will do the calculation -> https://drive.google.com/open?id=1rMoeIDSgZf8qCo4uidg0yi0RQoqg1i1m