Ver Mensaje Individual
  #17 (permalink)  
Antiguo 16/10/2008, 19:56
Avatar de jaronu
jaronu
 
Fecha de Ingreso: febrero-2008
Mensajes: 2.183
Antigüedad: 17 años
Puntos: 52
Respuesta: Problema al crear un pequeño sistema php/mysql

ahora que me fijo todos estos enlaces estan mal

Código PHP:

echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>\n";
echo 
"<tr>\n");
echo 
"<td width='12%'><a href=modificarcoche.php?id=$id>Modificar</a></td>\n";
echo 
"<td width='12%'><a href=borrarcoches.php?id=$id>Borrar</a></td>\n";
echo 
"<td width='26%'><a href=coches.php?id=$id>$marca</a></td>\n";
echo 
"<td width='26%'>$modelo</a></td>\n";
echo 
"<td width='24%'>$fecha</a></td>\n";
echo 
"</table>\n"); 
cambialos asi, no pusistes las comillas a los enlaces

Código PHP:


echo"<table width='100%' border='0' cellspacing='0' cellpadding='0'>\n";
echo 
"<tr>\n");
echo
"<td width='12%'><a href=\"modificarcoche.php?id=$id\">Modificar</a></td>\n";
echo
"<td width='12%'><a href=\"borrarcoches.php?id=$id\">Borrar</a></td>\n";
echo 
"<td width='26%'><a href=\"coches.php?id=$id\">$marca</a></td>\n";
echo 
"<td width='26%'>$modelo</a></td>\n";
echo 
"<td width='24%'>$fecha</a></td>\n";
echo 
"</table>\n"