Good evening guys,
I bring in a table a result of a select
of a bank, but in the result:
echo "". $ T_TOTAL. "";
I'm bringing in a variable because I had to make a treatment to get my result.
Question: How can I add the result of the variable?
<?php
echo"<table class='datatable table table-hover table-bordered table-responsiv'>";
echo"<thead>";
echo"<tr>";
echo"<th>CELULAR</th>";
echo"<th>DESCRIÇÃO</th>";
echo"<th>TEMPO</th>";
echo"<th>VALOR</th>";
echo"</tr>";
echo"</thead>";
echo"<tbody>";
echo"<tr>";
while ($row = mysql_fetch_array($query_pesquisa)) {
$TEMPO=$row['VALOR'];
$T_TOTAL=$TEMPO / 6 * 0.015 ;
echo"<td>".$row['CELULAR']."</td>";
echo"<td>".$row['DESCRICAO']."</td>";
echo"<td>".$row['MINUTOS']."</td>";
echo"<td>".$T_TOTAL."</td>";
echo"</tr>";
}
echo" </tbody>";
echo" </table>";
?>