Passing Variable from Arduino to HTML coding.

Hello,
How can we pass an Arduino variable to the html section?

ex:
In my Arduino routine I start by assigning the value 20 to the variable LowSet.
String LowSet="20";

and later when coding the html stuff I want a textbox to be shown in the browser so I can change the value of LowSetText. I want the value of LowSet to appear as default. Therefore I programmed it this way:

client.print("");

Regardless of what I am doing, the value shown is always "LowSet". I want it to be the variable inside which is '20' in this case.

Any ideas?

Thanks,

client.print("<input type='text' value=");
client.print (LowSet);
client.print (" name=LowSetText>");

Excellent,
i had to move the name definition before the value and it works perfect.

client.print("");

Many thanks,

And To save some RAM

client.print(F("<input type='text' name=LowSetText value="));
client.print (LowSet);
client.print (F(">"));