Ver Mensaje Individual
  #4 (permalink)  
Antiguo 11/12/2005, 11:29
pakillo
 
Fecha de Ingreso: mayo-2004
Mensajes: 400
Antigüedad: 19 años, 11 meses
Puntos: 0
$result = mysql_query("SELECT * FROM Contacts WHERE Contacts.$var1 LIKE '$var2' ORDER BY NameL ASC",$db);
while ( $row = mysql_fetch_array($result) ) {
echo("<center><table border='1' cellpadding='4' cellspacing='1' width='600' bordercolor='#8eb6d2'><tr>" .
"<td width='25%'> Artista</td><td width='25%'>Tema</td><td width='25%'>Edicion</td></tr></table></center>");
echo("<center><table border='1' cellpadding='4' cellspacing='1' width='600' bordercolor='#8eb6d2'><tr>" .
"<td width='25%'> $row[NameL]</td> <td width='25%'>" .
"<a href=\"contacts.php?dofunction=view&idno=$row[ID]\">$row[NameF]</a></td><td width='25%'>" .
"<a href=\"editdelete.php?dofunction=edit_form&idno=$r ow[ID]\"><IMG SRC='edit.gif' border='0' ALT='EDIT'>Editar</a>&nbsp&nbsp " .
"<a href=\"editdelete.php?dofunction=delete&idno=$row[ID]\"><IMG SRC='delete.gif' border='0' ALT='DELETE'>Eliminar</a>&nbsp&nbsp" .
"</td></font></tr></table></center><font face=verdana,arial>\n\n");
}