si chiama operatore ternario:
http://it.php.net/manual/en/language.expressions.php
codice:$regione = isset($_POST['regione']) ? $_POST['regione'] : (isset($_GET['regione']) ? $_GET['regione'] : 'nessuno' );
![]()
si chiama operatore ternario:
http://it.php.net/manual/en/language.expressions.php
codice:$regione = isset($_POST['regione']) ? $_POST['regione'] : (isset($_GET['regione']) ? $_GET['regione'] : 'nessuno' );
![]()
think simple think ringo