All pastes #126829 Raw Edit

Unnamed

public text v1 · immutable
·published 2006-08-11 20:53 UTC
rendered paste body
$SQLresult_host = mysql_query($SQLquery_memory,$SQLid);

$SQLpost=mysql_query($SQLstr,$SQLid);


        while(($SQLrowH=mysql_fetch_array($SQLresult_host)))
        {
          while(($posnum=mysql_fetch_array($SQLpost)))
           {
                $res_h =$SQLrowH["plugin_output"];
                $res_post=$posnum;

                $residuo=join($res_post);

                $cap_num=substr($residuo,2,2);


//              echo $cap_num . "\n";
//              $SQLstr="SELECT LOCATE('(', plugin_output) FROM servicestatuss where service_description='memoria'";

//              $SQLContados = mysql_query($SQLstr,$SQLid);

                $res_con =substr($res_h,$cap_num,3);

                echo "<td>" . $cap_num. "</td>" ."\n";

          }
        }