por que me dice que tengo error?
Publicado por leonardo (5 intervenciones) el 06/07/2009 03:58:08
hola que tal a todos, mi problema es el siguiente, me dice parse error en linea 12 pero no se por que :/
Parse error: parse error in C:xampphtdocsev3 nclienteup_cliente.php on line 12
<html>
<body>
<?
$rut_cliente=$_GET["rut_cliente"];
if ($rut_cliente==""){
echo "Datos inválidos<br>";
echo "<a href=cliente.php>Volver</a>";
exit;
}
$link = mysql_connect("localhost", "root");
mysql_select_db("evaluacion3", $link);
$result = mysql_query("SELECT * FROM cliente where cliente_rut= $rut_cliente," $link);
if ($row = mysql_fetch_array($result)){
echo "<form method =GET action= up2.php >";
echo "<table width =40%>";
echo "<tr>";
Parse error: parse error in C:xampphtdocsev3 nclienteup_cliente.php on line 12
<html>
<body>
<?
$rut_cliente=$_GET["rut_cliente"];
if ($rut_cliente==""){
echo "Datos inválidos<br>";
echo "<a href=cliente.php>Volver</a>";
exit;
}
$link = mysql_connect("localhost", "root");
mysql_select_db("evaluacion3", $link);
$result = mysql_query("SELECT * FROM cliente where cliente_rut= $rut_cliente," $link);
if ($row = mysql_fetch_array($result)){
echo "<form method =GET action= up2.php >";
echo "<table width =40%>";
echo "<tr>";
Valora esta pregunta


0