LLevo 3 dias intentando solucionar el problema pero sigue sin ir lo de la conexion a mysql me salen errores en la pagina el codigo del index php es:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Index</title>
</head>
<body bgcolor="black">
<font color="green">
<p align="left"><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="20">
<param name="movie" value="button1.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#000000">
<embed src="button1.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="20" bgcolor="#000000"></embed>
</object>
<param name="movie" value="text1.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#000000">
</object>
<embed src="text1.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="521" height="26" bgcolor="#000000"></embed>
</p>
<p align="left">
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="20">
<param name="movie" value="button2.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#000000">
<embed src="button2.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="20" bgcolor="#000000"></embed>
</object>
</p>
<p align="left">
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="20">
<param name="movie" value="button3.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#000000">
<embed src="button3.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="20" bgcolor="#000000"></embed>
</object>
<p align="left">
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="20">
<param name="movie" value="button5.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#000000">
<embed src="button5.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="20" bgcolor="#000000"></embed>
</object>
<p align="left"> <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="20">
<param name="movie" value="button4.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#000000">
<embed src="button4.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="20" bgcolor="#000000"></embed>
</object>
<p align="left">
<p align="left">
<p align="center"><?
$dia = date("d"
$mes = date("m"
$año = date("Y"
$hora = date("H"
$minuto = date("i"
echo "Hoy es el $dia/$mes/$año y son las $hora/$minuto";
?>
<font color="blue">
<br>
<br>
<i> Buenas pues lo primero q os quiero decir, esk la pagina todavia esta en construccion por eso hay esos fallos mysql. Estoy buscando los errores y cuando todo este bien os avisare. Si alguien sabe de mysql y me puede ayudar con los errores q aparecen por favor q me agregue a [email protected].
Gracias.</i>
<br>
<br>
</font>
<font color="red">
<?
/* Ejemplo de conexion a la base */
mysql_connect("localhost","chrizzy_fire", "mi_contraseña" );
mysql_select_db("chrizzy_fire"
$sql = ("SELECT * FROM news"
$reponse = mysql_query($sql,$conexio);
if ($donnees= mysql_fetch_array($reponse))
{
echo "<TABLE BORDER='2'>";
echo "<TR><TD>UNO</TD><TD>DOS</TD></TR>";
DO
{
echo "<TR><TD>".$donnees["titre"]."</TD><TD>".$donnees["contenu"]."</TD></TR>";
}
WHILE ($donnees=mysql_fetch_array($reponse));
echo "</TABLE>";
}
mysql_close();
?>
<br>
<br>
<br>
<br>
<br>
Usted es visitante número:<br>
<SCRIPT LANGUAGE="JavaScript" src="http://contadores.miarroba.com/ver.php?id=386103"></SCRIPT>
<!-- FIN codigo contadores.miarroba.com -->
</font><font color="green">
</font>
<font color="#999999"><b>
<h5> ©2005 Chrizzy <br>Esta página ha sido creada y diseñada por Chrizzy.
<br>
</h5></b></font></p>
</body>
</html>
Por favor ayudadme
Un saludo Chrizzy