I need the cell variable Celular: $lnbusca[celular]
from to click and appear on the dial screen exampleo <a href="tel:55555"> chamar 5555</a>
for the time the user clicks the number on the cellphone's dial screen, so how do I put href
within $ lnbusca[]
, how do I do it?
<?php
include "config.php";
if(isset($_POST['acao']) && $_POST['acao'] == 'bsc'){
$palavra = strip_tags($_POST['pesquisa']);
$banco = mysql_query("SELECT * FROM agenda WHERE nome LIKE '%$palavra%'");
if(mysql_num_rows($banco) == 0){
echo "Nenhum dado foi encontrado!";
}else{
while($lnbusca = mysql_fetch_array($banco)){
//COMECO
echo "<table width=1000 align=center>";
echo "<td bgcolor=#ebf3ff><b></b>";
echo "</td>";
echo "<tr>";
echo "<td width=25>";
echo "<font size=1>Codigo: $lnbusca[id_contato]</font>";
echo "</td>";
echo "<td width=450 bgcolor=#ebf3ff>";
//echo "<b><a href='agenda-exibir.php?id_contato={$dados['codigo']}'><font color=black size=elvetica>$dados[nome]</font></a><br />";
echo "<b><font color=black size=elvetica>Categoria: $lnbusca[categoria] | "
. "Cidade: $lnbusca[cidade] | "
. "Nome: $lnbusca[nome] | "
. "Celular: $lnbusca[celular] | "
. "Celular2: $lnbusca[celular2] | "
. "Telefone: $lnbusca[telefone] </font></a><br />";
echo "</tr>";
echo "</td>";
echo "<td bgcolor=#f8f8fA>";
echo "</td>";
echo "</tr>";
echo "</td>";
echo "</table>"; //FIMM
}
}}
?>