Greetings,
I have a small routine that checks a BME sensor.
I can do a client.print to a webserver and the variables pass ok.
However, if I create a HTML Table, I can’t figure the coding to make it happen. For example, I need to get variable temp1 to the table.
seymourmtn:
Greetings,
I have a small routine that checks a BME sensor.
I can do a client.print to a webserver and the variables pass ok.
Doesn't this mean YOU are the webserver? What exactly you you sending? Code would be most helpful
seymourmtn:
However, if I create a HTML Table, I can’t figure the coding to make it happen. For example, I need to get variable temp1 to the table.
Are you generating the HTML table and sending it out? Once again, it sounds like you are the webserver and code would be most helpful.
If you are generating the table code, it is just a bunch of text with your variable inserted somewhere in the middle (it does have to follow the rules to be valid HTML)
When a user at a browser client issues a specific URL directed at your arduino based web server, you want to send back a nicely formatted web page including a table in which some data like temperature appears.
This just manages to write "Hello world!" to the browser.
You want to sprinkle in some html, including and tags to wrap around the data you are sending back.
It gets more complicated if the user at the browser can edit the data he sees and submit it all back to the web server.