Ethernet module enc28j60, problem with E_fill_tcp_data_p

Hello.
I have a ethernet module enc28j60 and want make webserver with temperature (DS18B20)
But, when I put in output code any variable, has a error:

WebServer.cpp: In function ‘uint16_t print_webpage(uint8_t*)’:
WebServer:178: error: initializer fails to determine size of ‘__c’

Part of code:

uint16_t print_webpage(uint8_t *buf)
{
    int vvv = 10;
    uint16_t plen;
    plen=es.E_fill_tcp_data_p(buf,0,PSTR("HTTP/1.0 200 OK\r\nContent-Type: text/html\r\n\r\n"));
    plen=es.E_fill_tcp_data_p(buf,plen,PSTR("<center><p><h1>Welcome to Arduino Ethernet Shield V1.0</h1></p> "));
    plen=es.E_fill_tcp_data_p(buf,plen,PSTR("<hr>
 <h2><font color=\"blue\">-- Your Arduino is online now  -- "));
    plen=es.E_fill_tcp_data_p(buf,plen,PSTR(vvv));
    plen=es.E_fill_tcp_data_p(buf,plen,PSTR("  
</font></h2> ") );
    
    return(plen);
 }

vvv - for example is my temperature. How I can out this variable to HTML page?

I resolve my problem with this code:

 .........................
 Tc_100 = (TReading/2)*100;
  
  whole = Tc_100 / 100;  // separate off the whole and fractional portions

  temp[0] = (whole-(whole/100)*100)/10 +'0' ;
  temp[1] = whole-(whole/10)*10 +'0';

And:

uint16_t print_webpage(uint8_t *buf)
{
char temp_string[9];
int i=0;
getCurrentTemp(temp_string);

uint16_t plen;
plen=http200ok();
plen=es.ES_fill_tcp_data_p(buf,plen,PSTR(“Arduino ENC28J60 Ethernet Shield V1.0”));
plen=es.ES_fill_tcp_data_p(buf,plen,PSTR("

Temp: "));
while (temp_string*) {*

  • buf[TCP_CHECKSUM_L_P+3+plen]=temp_string[i++];*
  • plen++;*
  • }*
  • plen=es.ES_fill_tcp_data_p(buf,plen,PSTR("

    ") );*
  • plen=es.ES_fill_tcp_data_p(buf,plen,PSTR(""));*
  • return(plen);*
    }[/quote]
    But have a new problem. First open my page 192.168.1.10 in my browser i see right result:
    Temp: 28
    But I press F5 (refresh) and see: Temp: ~?
    Next press F5: Temp: 28, next again Temp: ~? and etc
    I think this is buffer enc28j60, and need empty after every output. Or not?