I'm trying to add a cookie banner to my website and it has two different languages: Italian and English.
Language goes as
http://www.grcparfum.it/home.php?section=letteradelpresidente&lang=eng
and
http://www.grcparfum.it/home.php?section=letteradelpresidente&lang=ita
and this is my code:
<?php
$currentlang= $_GET['link'];
if($currentlang !=eng){
?>
<script src="/js/cookiechoices-en.js"></script>
}
<?php else: ?>{
<script src="/js/cookiechoices-it.js"></script>
<?php endif; ?>
}