example.zip (93.4 KB)
A quick summery of my project so far
Hi everyone - So I’m developing a web app that sends diabetes monitoring data to an online database. So far I’ve managed to create a user log in system and designed a system to send all the data to the database. The stage I’m at now is to create a system to allow the user to view all of their data they’ve sent to the database.
My Question
Hi guys,
I’m trying to attempt to get a table of information from mysql to display in a hype document however everything I’ve tried so far hasn’t worked.
I’m able to get a single line from a table using an example I found on this forum (Help with querying MySQL database) but I need a whole table worth of data to pull through.
I know I could potentially display the data in a iframe but the problem with this is that the user who is accessing the database has a unique code. So therefore I’m using Ajax to send the code to receive the correct data back.
Using the method I found before, I can do this with one line of information which works well. However, as the web app I’m developing is for people to see their diabetes record in a table (and hopefully in a graph! but that’s another thing) I really need all user data on the database to be shown.
Does anybody have a working example of this? Or can someone point me in the right direction? I’m hoping that a table can be displayed in a set element in hype.
Thanks for your help and time in advance,
Chris
PS -Thanks for all your help in the past! I wouldn’t have got this far without the knowledge shared on this forum. Every little bit of help goes towards helping some of the patients I work with have a better system to monitor their diabetes
EDIT
I’ve added a sample project to this post. When I’ve tried it, it returns 0. I think its potentially a php issue? Does anyone have any idea? I feel I’m really close to getting this to work!