In my php script I have to use the Eval () on four of those eleven entries.
So I'm using this:
Code: Select all
if ($file == "1") {
Eval ($content);
} else {
echo "$content";
}I need some way of doing this:
Code: Select all
$list = (1, 4, 6, ; // the id numbers that need to use Eval()
if ($file == "$list") {
Eval($content);
} elseif ($file != "$list") {
echo "$content";
}Code: Select all
$list = (1, 4, 6, ;Thanks,
David