From efe371fd6e883dde99ca6d90a7aae99eb4aeadea Mon Sep 17 00:00:00 2001 From: polo Date: Fri, 25 Nov 2022 03:59:32 +0100 Subject: =?UTF-8?q?premi=C3=A8re=20sauvegarde=20git?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- php/functions.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 php/functions.php (limited to 'php/functions.php') diff --git a/php/functions.php b/php/functions.php new file mode 100644 index 0000000..61bc13e --- /dev/null +++ b/php/functions.php @@ -0,0 +1,26 @@ + /dev/null 2>&1 &'; + // stdout > /dev/null et & permettent de rendre la main à PHP + // stderr > stdout pour cacher un message inutile + return $command; +} + +function recherche_client(string $saisie): array +{ + $resultats = []; + + // recherche dans la BDD + + + return($resultats); +} -- cgit v1.2.3