Parse error: syntax error, unexpected T_STRING in C:\AppServ\www\pagprueba.php on line 18
He revisado la linea 18 y no encuentro el error... podrían ayudarme?
Citar
<head>
<title>Shopping Veracruz - El abc de tú PUBLICIDAD</title>
</head>
<body bgcolor = "303030">
<body text = "E5E5E5">
<body leftmargin = "50">
<body topmargin = "50">
<font face = "calibri">
<font size = "2">
<?
echo "<p align center>";
echo "A continuación se muestra el resultado de seleccionar todos los registros de las tablas nombre y apellidos";
include ("conectar.php");
mysql_select_db ("shopping", $conectar);
$consulta = "select nombre, apellidos from clientes";
$query = " mysql_query ($consulta, $conectar);
echo "<table align=center border=1 bgcolor=#6B6BFF
cellspacing=5>";
while ($reg = mysql_fetch_row($query)){
echo "<tr>";
echo "<br>";
foreach ($reg as $cambia){
echo "<td>,$cambia,"</td>";
}
}
echo "</table>";
?>
<title>Shopping Veracruz - El abc de tú PUBLICIDAD</title>
</head>
<body bgcolor = "303030">
<body text = "E5E5E5">
<body leftmargin = "50">
<body topmargin = "50">
<font face = "calibri">
<font size = "2">
<?
echo "<p align center>";
echo "A continuación se muestra el resultado de seleccionar todos los registros de las tablas nombre y apellidos";
include ("conectar.php");
mysql_select_db ("shopping", $conectar);
$consulta = "select nombre, apellidos from clientes";
$query = " mysql_query ($consulta, $conectar);
echo "<table align=center border=1 bgcolor=#6B6BFF
cellspacing=5>";
while ($reg = mysql_fetch_row($query)){
echo "<tr>";
echo "<br>";
foreach ($reg as $cambia){
echo "<td>,$cambia,"</td>";
}
}
echo "</table>";
?>