<?php
if (get_field('faq-file')) {
$faq = include ('inc/faq/'.(get_field('faq-file')));
echo $faq;
}
else {
include 'inc/faq/default.php';
}
<?php
if ($var = get_field('faq-file')) {
$faq = include ('inc/faq/'.$var);
echo $faq;
}
else {
include 'inc/faq/default.php';
}