Possible Duplicate:
Reference - What does this error mean in PHP?
I keep on getting a "Parse error: syntax error, unexpected '(', expecting T_VARIABLE or '$' in..."
Here's the line thats causing the problem, not sure whats going on here?
$text = "<script>window.setInterval(function(){$('#liveData').load('liveUpdate.php');}, 1000);</script>";
Thanks in advance