switch ($printjob){
include ('includes/PrintQuotes/standardflyer/1sided_uncoated.php');
default:
$printjob = 'null';
}
Execute the whole script, and this appears:
Parse error: parse error, unexpected T_INCLUDE, expecting T_CASE or T_DEFAULT or ‘}’
Now, if I put the content in the 1sided_uncoated.php file in the place of the include tag, it all works fine.
I’ve attached the PHP file where the first code is in (standardflyer_settings.php), and also 1sided_uncoated.php.
Any help appreciated