Y hace conexion con la BD de mysql
así
Código PHP:
$enlace=mysql_connect('server','user','password');
mysql_select_db("BD");
selección, consulta y mostrar resultado de la tabla
Código PHP:
$consulta="select * FROM tabla";
Código PHP:
$resultado=mysql_query($consulta);
echo "<table>";
while ($row = mysql_fetch_array($resultado))
{
echo "<tr><td>" . $row["title"] ."<td>";
}
echo "</table>";
pd:
- mas o meno el ejemplo peculiar de consulta de php y mysql
- volver a decirte ser un poquito mas explicativo
- no haces conexión con bd, no encuentras server mysql etc etc etc.