From dff418ad306539a65ddd2148ebef967742fe65ad Mon Sep 17 00:00:00 2001 From: Alberto Monteagudo <55769333+almonteagudor@users.noreply.github.com> Date: Fri, 11 Aug 2023 20:14:16 +0200 Subject: [PATCH] Reto #18 - php --- .../php/almonteagudor.php" | 2 ++ 1 file changed, 2 insertions(+) diff --git "a/Retos/Reto #18 - WEB SCRAPING [Dif\303\255cil]/php/almonteagudor.php" "b/Retos/Reto #18 - WEB SCRAPING [Dif\303\255cil]/php/almonteagudor.php" index d549f77c24..1f4779d798 100644 --- "a/Retos/Reto #18 - WEB SCRAPING [Dif\303\255cil]/php/almonteagudor.php" +++ "b/Retos/Reto #18 - WEB SCRAPING [Dif\303\255cil]/php/almonteagudor.php" @@ -19,6 +19,8 @@ echo $element->textContent . "\n"; } +} else { + echo "No se ha encontrado: $text\n"; } function searchElementByString(DOMNodeList $list, string $text): ?DOMElement