x outputs with 2

Discussion in 'PHP' started by Lindkvist, Mar 1, 2012.

  1. #1
    Hi,

    I have a line in my script that expects a number of lines, but I would like to have it x number of 2, so if it will come out with 4, then the write 8

    $str.="test1 ".$sspot." tests
    (".round((($sspot/$totspottests)*100), 2)."% of all tests)";
     
    Lindkvist, Mar 1, 2012 IP
  2. Googled

    Googled Active Member

    Messages:
    85
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    60
    #2
    can you repeat that...
     
    Googled, Mar 2, 2012 IP
  3. yho_o

    yho_o Well-Known Member

    Messages:
    354
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    140
    #3
    i do not get it !
     
    yho_o, Mar 3, 2012 IP