les paso el error que me da, y los codigos
conexion.php
<?php
//Nos conectamos a la base de datos
$con=mysql_connect("localhost","root","123456");
$bd="trabajo_de_curso";
?>
ver_noticias.php
<?php
//Llamo a mi archivo de conexion
require_once("conexion.php");
//*********************************************************
//Llamar a los registros de la tabla noticias
$sql="select * from noticias order by id_noticia desc";
$res=mysql_db_query($bd,$sql,$con);
?>
<html>
<head>
<title>Ver Noticias</title>
</head>
<body>
<table align="center" width="500">
<tr>
<td width="500" align="center" valing="top" colspan="5">
<h3>Noticias de mi web</h3>
</td>
</tr>
<tr style="background-color: #666; color:#fff; font-wight:bold">
<td width="100" align="center" valing="top">
Nombre
</td>
<td width="250" align="center" valing="top">
Detalle
</td>
<td width="50" align="center" valing="top">
Fecha
</td>
<td width="50" align="center" valing="top">
Hora
</td>
<td width="50" align="center=" valing="top">
</td>
</tr>
<?php
while ($reg=mysql_fetch_array($res))
{
?>
<tr style="background-color: blue; color:#fff;">
<td width="100" align="center" valing="top">
<?php echo $reg["titulo"]; ?>
</td>
<td width="250" align="center" valing="top">
<div align="justify">
<?php echo $reg["detalle"]; ?>
</div>
</td>
<td width="50" align="center" valing="top">
<?php echo $reg["fecha"]; ?>
</td>
<td width="50" align="center" valing="top">
<?php echo $reg["hora"];?>
</td>
<td width="50" align="center=" valing="top">
</td>
</tr>
<?php
}
?>
</table>
</body>
</html>
y el error...
"Deprecated: Function mysql_db_query() is deprecated in C:\xampp\htdocs\curso_cesarcancino\ver_noticias.php on line 8
Deprecated: mysql_db_query(): This function is deprecated; use mysql_query() instead in C:\xampp\htdocs\curso_cesarcancino\ver_noticias.php on line 8"
si alguien sabe como se hace esta aplicacion actualmente ayudeme porfavor, gracias