I have this code working on my localhost WAMP server. However after setting it up on my brand new VPS I get the following error.
Parse error: syntax error, unexpected ':' in .... on line 69
Any ideas what this could be? I have never seen a colon in PHP before.
Line 69 is line 8 from the snippet below...
$htmlPagination = new simple_html_dom;
$ch = curl_init();
I assume it is something to do with my VPS setup / configuration.