Código PHP:
<a href=verficha.php?id=".$row["id"].">".$row["tempresa"]."
Código PHP:
$sql="SELECT * FROM telemarketig WHERE id='".$_GET['id']."'"
Código PHP:
<?
echo $fecha;
?>
incluyo el codigo completo de la pagina donde quiero ver los resultados
Código PHP:
<?
include("conexion.php");
$sql="SELECT * FROM telemarketig WHERE id='".$_GET['id']."'"
?>
<html>
<head>
<title>mi empresa</title>
</head>
<body topmargin="1" leftmargin="1" rightmargin="1" bottommargin="1">
<p class="MsoNormal"> </p>
<div align="center">
<table border="0" bordercolor="#FF0000" style="width: 480pt" cellpadding="0" cellspacing="0">
<tr>
<td>
<img border="0" src="ondaslog.gif" width="646" height="71"></td>
</tr>
</table>
</div>
<p><b><font size="5" color="#808080"> </font></b>
<div align="center">
<table border="0" style="width: 480pt">
<tr>
<td height="37" width="641"><b>
<font size="4" color="#808080" face="Verdana"><u>TELECONCERTACIÓN</u></font></b></td>
</tr>
</table>
</div>
<div align="center">
<table border="0" height="253" style="width: 480pt; border: 1px solid #000000; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px" bordercolorlight="#000000" bordercolordark="#000000" cellpadding="4">
<tr>
<td height="28" align="center" style="width: 139px">
<p align="left"><u><b><font face="Verdana" size="2">Teleoperador:</font></b></u></td>
<td height="28" align="center" style="width: 92px">
<p align="left">
<font face="Verdana" size="2" color="#0000FF"><b>
<!--webbot bot="HTMLMarkup" startspan --><?
echo $tteleoperad;
?><!--webbot bot="HTMLMarkup" endspan --></b></font></td>
<td height="28" align="center" style="width: 141px">
<p align="left"><u><b><font face="Verdana" size="2">Comercial:</font></b></u></td>
<td height="28" align="center" style="width: 224px" colspan="5">
<p align="left"> </td>
</tr>
<tr>
<td height="27" align="center" style="width: 139px">
<p align="left"><u><b><font size="2" face="Verdana">Fecha de
Llamada:</font></b></u></td>
<td align="left" style="width: 92px; font-size:10pt; font-family:Verdana; color:#0000FF; font-weight:bold">
<p align="left"><!--webbot bot="HTMLMarkup" startspan --><?
echo $fconcert;
?>
<!--webbot bot="HTMLMarkup" endspan --></td>
<td height="27" align="center" style="width: 141px">
<p align="left"><u><b><font size="2" face="Verdana">Fecha de Visita:</font></b></u></td>
<td height="27" align="center" style="width: 98px" colspan="2">
<p align="left"><font size="2" face="Verdana" color="#0000FF"><!--webbot bot="HTMLMarkup" startspan --><?
echo $fecha;
?><!--webbot bot="HTMLMarkup" endspan --></font></td>
<td height="27" align="center" style="width: 42px"><u><b>
<font face="Verdana" size="2">Hora:</font></b></u></td>
<td height="27" align="center" style="width: 39px">
<font size="2" face="Verdana" color="#0000FF">
<!--webbot bot="HTMLMarkup" startspan --><?
echo $thora;
?><!--webbot bot="HTMLMarkup" endspan --></font></td>
<td height="27" align="center" style="width: 15px">
<p align="left"> </td>
</tr>
<tr>
<td height="24" align="center" style="width: 636px" colspan="8"> </td>
</tr>
<tr>
<td height="20" align="center" style="width: 139px">
<p align="left"><u><b><font face="Verdana" size="2">Empresa:</font></b></u></td>
<td height="20" align="center" style="width: 243px" colspan="2">
<font face="Verdana" size="2" color="#0000FF"><b>
<!--webbot bot="HTMLMarkup" startspan --><?
echo $tempresa;
?><!--webbot bot="HTMLMarkup" endspan --></b></font></td>
<td height="20" align="center" style="width: 71px">
<p align="left"><u><b><font face="Verdana" size="2">Sociedad:</font></b></u></td>
<td height="20" align="center" style="width: 17px"> </td>
<td height="20" align="center" style="width: 91px" colspan="2">
<p align="left"><u><b><font face="Verdana" size="2">Autónomo:</font></b></u></td>
<td height="20" align="center" style="width: 15px"> </td>
</tr>
<tr>
<td height="24" align="center" width="139">
<p align="left"><u><font face="Verdana" size="2"><b>Dirección:</b></font></u></td>
<td height="24" align="center" colspan="7" width="477">
<p align="left"><font face="Verdana" size="2" color="#0000FF"><b><!--webbot bot="HTMLMarkup" startspan --><?
echo $tdireccion;
?><!--webbot bot="HTMLMarkup" endspan --></b></font></td>
</tr>
<tr>
<td height="17" align="center" width="139">
<p align="left"><u><b><font size="2" face="Verdana">Población:</font></b></u></td>
<td height="17" align="center" colspan="2" width="243">
<p align="left"><font face="Verdana" size="2" color="#0000FF"><b><!--webbot bot="HTMLMarkup" startspan --><?
echo $tpoblacion
?><!--webbot bot="HTMLMarkup" endspan --></b></font></td>
<td height="17" align="center" width="71"><u><b>
<font size="2" face="Verdana">C. Postal:</font></b></u></td>
<td height="17" align="center" colspan="4" width="142">
<p align="left"><b><font color="#0000FF" size="2" face="Verdana"><!--webbot bot="HTMLMarkup" startspan --><?
echo $tcpostal;
?><!--webbot bot="HTMLMarkup" endspan --></font></b></td>
</tr>
<tr>
<td height="13" align="center" width="139">
<p align="left"><u><b><font size="2" face="Verdana">Teléfono:</font></b></u></td>
<td height="13" align="center" width="92">
<p align="left"><font face="Verdana" size="2" color="#0000FF"><b><!--webbot bot="HTMLMarkup" startspan --><?
echo $ttelefono;
?><!--webbot bot="HTMLMarkup" endspan --></b></font></td>
<td height="13" align="center" width="141">
<p align="left"><u><b><font size="2" face="Verdana">Teléfono Móvil:</font></b></u></td>
<td height="13" align="center" width="224" colspan="5">
<p align="left"><font size="2" face="Verdana" color="#0000FF"><!--webbot bot="HTMLMarkup" startspan --><?
echo $tmovil;
?><!--webbot bot="HTMLMarkup" endspan --></font></td>
</tr>
<tr>
<td height="43" align="center" width="139" valign="top">
<p align="left"><u><b><font size="2" face="Verdana">Contactar con:</font></b></u></td>
<td height="43" align="center" width="477" colspan="7" valign="top">
<p align="left"><font face="Verdana" size="2" color="#0000FF"><b><!--webbot bot="HTMLMarkup" startspan --><?
echo $tcontacto;
?><!--webbot bot="HTMLMarkup" endspan --></b></font></td>
</tr>
</table>
<p align="left"> </div>
<div align="center">
<table border="0" style="width: 480pt">
<tr>
<td height="7" width="411"><b><font face="Verdana" color="#808080">
Datos de interés</font></b></td>
</tr>
</table>
</div>
<div align="center">
<table border="0" height="54" style="width: 480pt; border: 1px solid #000000; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px" bordercolorlight="#000000" bordercolordark="#000000" cellpadding="4">
<tr>
<td height="33" width="155"><u><b><font size="2" face="Verdana">
Líneas Vodafone:</font></b></u></td>
<td height="33" width="38"><b>
<font color="#0000FF" size="2" face="Verdana"><!--webbot bot="HTMLMarkup" startspan --><?
echo $tlinvodafone;
?><!--webbot bot="HTMLMarkup" endspan --></font></b></td>
<td height="33" width="145"><u><b><font size="2" face="Verdana">
Líneas Movistar:</font></b></u></td>
<td height="33" width="39"><b>
<font color="#0000FF" size="2" face="Verdana"><!--webbot bot="HTMLMarkup" startspan --><?
echo $tlinmovistar;
?><!--webbot bot="HTMLMarkup" endspan --></font></b></td>
<td height="33" width="150"><u><b><font size="2" face="Verdana">
Líneas Amena:</font></b></u></td>
<td height="33" width="59"><b>
<font color="#0000FF" size="2" face="Verdana"><!--webbot bot="HTMLMarkup" startspan --><?
echo $tlinamena;
?><!--webbot bot="HTMLMarkup" endspan --></font></b></td>
</tr>
<tr>
<td height="32" width="155"><u><b><font size="2" face="Verdana">
Facturación Aprox.:</font></b></u></td>
<td height="32" width="189" colspan="2">
<b><font color="#0000FF" size="2" face="Verdana">
<!--webbot bot="HTMLMarkup" startspan --><?
echo $tfacturacio;
?><!--webbot bot="HTMLMarkup" endspan --></font></b></td>
<td height="32" width="198" colspan="2"><u><b>
<font size="2" face="Verdana">Contrato de Permanencia:</font></b></u></td>
<td height="32" width="59"><b>
<font color="#0000FF" size="2" face="Verdana"><!--webbot bot="HTMLMarkup" startspan --><?
echo $tpermanenci;
?><!--webbot bot="HTMLMarkup" endspan --></font></b></td>
</tr>
<tr>
<td height="7" width="650" colspan="6"></td>
</tr>
</table>
</div>
<p> </p>
<div align="center">
<table border="0" height="42" style="width: 480pt">
<tr>
<td><font face="Verdana" color="#808080"><b>Observaciones de la
Concertación:</b></font></td>
</tr>
<tr>
<td height="19" width="191" bordercolor="#000000" style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px">
<b><font color="#0000FF" size="2" face="Verdana">
<!--webbot bot="HTMLMarkup" startspan --><?
echo $tcomentarios;
?><!--webbot bot="HTMLMarkup" endspan --></font></b></td>
</tr>
</table>
</div>
</p>
</body>
</html>