CORREGIDO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Pero aun sigo con errores XP ahora tengo estos errores:
Warning: mysql_query() expects parameter 1 to be string, resource given in C:\xampp2\htdocs\projectoz\gestion\cliente\reporte .php on line 22
Warning: mysql_fetch_array() expects parameter 1 to be resource, null given in C:\xampp2\htdocs\projectoz\gestion\cliente\reporte .php on line 30
Nombres Apellidos
este es mi nuevo codigo:
Código PHP:
<html>
<head>
<title>Proyecto Z</title>
<link rel="stylesheet" href="../../back.css" type="text/css">
</head>
<body>
<div class="trans"></div>
<div class="arriba2"><center>
<CENTER></BR></BR><h1><FONT COLOR="000000">Editor de Clientes</FONT></h1>
<?php
include '../../access.php';
$result = mysql_query($conexion, "SELECT * FROM clientes");
echo "<table border='1' align='center'>";
echo "<tr bgcolor='#CCCCCC'>";
echo "<td><b>Nombres</b></td>";
echo "<td><b>Apellidos</b></td>";
while ($row = mysql_fetch_array($result)){
echo "<tr>";
echo "<td>".$row[ClienteID]."</td>";
echo "<td>".$row[NombreCliente]."</td>";
echo "</tr>";
}
echo "</table>";
mysql_close($conexion);
?>
</center>
</div>
</body>
</html>
sigo sin hayarle T_T