Código PHP:
if ($_POST['nombre_artista'])
{
$buscar_nombre_artista="select artista.*, pinturas.* from artista, pinturas where artista.id_artista=pinturas.id_artista and artista.nombre_artista='".$_POST['nombre_artista']."' and pinturas.id_artista=artista.id_artista";
$buscar_nombre_artista = mysql_query($buscar_nombre_artista) or die(mysql_error());
while($row=mysql_fetch_assoc($buscar_nombre_artista))
{
echo "<form id='imagenes' name='imagenes' method='get' action=''>";
echo '<a href=\'recibir.php?idee_artista='.($row['ID_ARTISTA']).'&idee_pintura='.($row['ID_PINTURA']).'&artista_nombre='.($row['NOMBRE_ARTISTA']).'&artista_curso='.($row['CURSO_ARTISTA']).'&artista_colegio='.($row['COLEGIO_ARTISTA']).'&url_pintura='.($row['PINTURA_URL']).'\'><center><img src="'.$row['MINI_PINTURA_URL'].'"></img></a></center>';
// echo "<center><a href=\"recibe.php?ide_artista=".$row['ID_ARTISTA']."&ide_pintura=".$row['ID_PINTURA']."\<img src=".$row['PINTURA_URL']."></img></center></a>";
echo '<center>Nombre: '.$row['NOMBRE_ARTISTA'].'</center>';
echo '<center>Curso: '.$row['CURSO_ARTISTA'].'</center>';
echo '<center>Colegio: '.$row['COLEGIO_ARTISTA'].'</center>';
agradeceria mucho su ayuda amigos... de antemano gracias.