(MQTT) Using HTML as Publisher

Hello, i am currently have a school project that involve using mqtt. My project objective is to update led matrix message from html. For this project i use 2 nodemcus (one for broker which has html code and also act as publisher and the other has led matrix as a client). i have tried the code for client and already able to subscribe and display new message that i type from cmd using mqtt eclipse.

below is the attachment for my mqtt broker code.

I saw some examples on the internet that use client.read fuction which when i open the serial monitor i can see the message that i type from html. But, i am unable to get that message out to publish it. Does anyone can help me or give me another solution for getting the message from the html ?
Thx in advance.

MQTT_broker_projek_Edit.ino (5.29 KB)

My project objective is to update led matrix message from html.

This does not make sense. Do you KNOW what HTML stands for?

The sentence would make as much sense if you said that you wanted to update the matrix from Russian (or French or Greek).

The language is immaterial. What is important is where the data is coming from.