1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
PHP_TP4/lib/foncBase.php

19 lines
331 B
PHP
Raw Normal View History

2020-10-16 10:23:24 +02:00
<?php
function choixAlert($message)
{
$alert = array();
switch($message)
{
case 'query' :
$alert['messageAlert'] = ERREUR_QUERY;
break;
case 'url_non_valide' :
$alert['messageAlert'] = TEXTE_PAGE_404;
break;
default :
$alert['messageAlert'] = MESSAGE_ERREUR;
}
return $alert;
}