Undefined index: descriptif
4 | if(isset($_GET['id'])){ |
5 | $sql_actu = "SELECT date,lien,descriptif FROM Actualite WHERE id = ".$_GET['id'].";"; |
6 | $req_actu = mysqli_query($db,$sql_actu); |
7 | $actualite=""; |
8 | $actualite = mysqli_fetch_array($req_actu,MYSQLI_BOTH); |
9 | $actualite['lien']=html_entity_decode($actualite['lien'],ENT_QUOTES); |
10 | $actualite['descriptif']=html_entity_decode($actualite['descriptif'],ENT_QUOTES); |
11 | } |
12 | else{ |
13 | $ok=0; |
14 | } |
15 | |
16 | ?> |
#0 /public_html/site/app/actions/actualite_show.php(11): Atomik::_errorHandler(8, 'Undefined index...', '/public_html/si...', 11, Array)
#1 /public_html/site/index.php(982): require('/public_html/si...')
#2 /public_html/site/index.php(965): Atomik->_execute('./app/actions/a...', Array, 'Actualite_showA...')
#3 /public_html/site/index.php(923): Atomik::executeFile('./app/actions/a...', Array, 'Actualite_showA...')
#4 /public_html/site/index.php(629): Atomik::execute('actualite_show', 'html', false)
#5 /public_html/site/index.php(472): Atomik::dispatch(NULL)
#6 /public_html/site/index.php(268): Atomik::run()
#7 {main}