Ver Mensaje Individual
  #3 (permalink)  
Antiguo 19/04/2013, 08:54
Avatar de zetahosting
zetahosting
 
Fecha de Ingreso: octubre-2011
Mensajes: 119
Antigüedad: 12 años, 7 meses
Puntos: 2
Respuesta: Tag title basada en MysQl

te tendrias que conectar a la base de datos:

$conexion=mysql_connect($server,$user,$pass);
$seleccionar_db=mysql_select_db('DB',$conexion);

$Query=mysql_query("SELECT title FROM tabla WHERE ID='".$id."'");
$titlen=mysql_fetch_array($Query);

<title>'.$titlen['title'].'</title>



Abrazo
__________________
Excelente WebHosting -> www.zetahosting.net
[email protected]
Twitter: @zetahosting