include("gestion/funciones.php"); include("gestion/variables.php"); if($_POST) { $keys_post = array_keys($_POST); foreach ($keys_post as $key_post) { $$key_post = $_POST[$key_post]; } } if($_GET) { $keys_get = array_keys($_GET); foreach ($keys_get as $key_get) { $$key_get = $_GET[$key_get]; } } $link=Conectarse(); $re=mysql_db_query($bd,"select nombre,email from fichas where id_ficha='$id'",$link); while($li=mysql_fetch_array($re)) { $abonombre=$li[nombre]; $destino=$li[email]; } ?>