From 4870cebf324f3ac7550b9a7d60615a45299b4919 Mon Sep 17 00:00:00 2001 From: humano Date: Sat, 16 May 2020 10:28:44 -0500 Subject: [PATCH] organizacion de avatares --- funciones/funciones.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/funciones/funciones.php b/funciones/funciones.php index 160d771..92f4ffd 100644 --- a/funciones/funciones.php +++ b/funciones/funciones.php @@ -4707,7 +4707,13 @@ while( $row = mysqli_fetch_array( $sql ) ) { } ///href='../d$row[control]' if($tipo=="array"){ - $array[$row['control']]= $nombre[0]; + $campo_imagen = buscar_campo_tipo("$formulario","15"); + $avatar = remplacetas('form_datos','id_campo',$campo_imagen[0],'contenido'," control = '$row[control]' ") ; + //$avatar = ""; + + $array[$row['control']]['nombre']= $nombre[0]; + $array[$row['control']]['imagen']= $avatar[0]; + $array[$row['control']]['control']= $row['control']; } elseif($tipo=="avatar"){