Thanks Tobias, I managed to get it working with your help, and I’ve also got it working by directly printing the short code like so…
do_shortcode(‘[table id=1 filter=”‘.$geturl.'” /]’);
if ( stripos( $geturl, ‘film’ ) ) {
?> etc…
I’m unsure though why you suggest against that method though, is it because it can corrupt the table data that way?