Answer the question
In order to leave comments, you need to log in
How to parse some data from HTML in phpMyAdmin?
There is a site that has a code -
HTTP/1.1 200 OK
Content-Type: text/html
Connection: close
Refresh: 30
<!DOCTYPE HTML>
<html>
<title>KNS-16</title>
<H1>KNS-16</H1>
<br />
A=
Irms
<br />
Sost door=
<H1>WARNING door open</H1>
<br />
Yroven =
NIZ - normal
<br />
</html>
client.println("HTTP/1.1 200 OK"); //заголовочная информация
client.println("Content-Type: text/html");
client.println("Connection: close");
client.println("Refresh: 30"); //автоматическое обновление каждые 30 сек
client.println();
client.println("<!DOCTYPE HTML>"); //HTML тип документа
client.println("<html>"); //открытие тега HTML
client.print("<title>KNS-16</title>"); //название страницы
client.print("<H1>KNS-16</H1>"); //заголовк на странице
client.println("<br />");
client.println("A= ");
client.println(Irms);
client.println("<br />");
client.println("<br />");
client.print("Sost door= ");
if (digitalRead(A2)==HIGH) {client.print("Closed");}
if(digitalRead(A2)==LOW){client.print("<H1>WARNING door open</H1>");}
client.println("<br />");
client.println("Yroven = ");
if (digitalRead(A3)==HIGH) {client.println("NIZ - normal");}
if (digitalRead(A3)==LOW) {client.println("<H1>WARNING NIZKIY YROVEN - 0");}
if (digitalRead(A4)==HIGH) {client.println("<H1>WARNING VISOKIY YROVEN - 2</H1>");}
client.println("<br />");
client.println("</html>"); //закрывае
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question