INTRO
So I’m trying to design a website in which people can store their Fitness Progress in a database and then request the results in a table.
I’m able to login the user, send the results to my database but I can’t seem to get them out of it.
I’m trying to show the results in a table with the use of buttons. There are 2 options: 1. Search by date & 2. Search by muscleGroup (because it’s about fitness). For now I just want the data to show before I start using these options
The table is called: user_data and my database itself is called registration.
The problem I’m having is the following:
When trying to access my data it doesn’t seem to find it . It finds the data of how many rows I get in my database table etc… (I used View Source Code on chrome). but it doesn’t display it in my table.
My page clearly shows all rows and has placed the td’s for the data.
In view source it only shows my actual php code. But I want as result for example instead of $gym[‘nameExercise’], Squat (or whatever other value I have in my database).
This is my code, database, view-source & webpage
(I’m sorry I had to show it like this. But new users can only upload 1 image…)
I’m still kinda new to PHP. So if someone knows how to fix it and is willing to explain to me how it works that would be very helpful.
Thanks in advance