Add semicolon after include
include 'connect.php';
Yep, that is it! Since PHP interprets semicolon as fullstop then line it will interpret as one line, so you are illegally trying to concatenate string and variable without a dot:
include 'connect.php' $id = $_GET['id'];
evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392
Thanks, I had been looking and looking and totaly missed that.
Are we solved yet?
evstevemd
Senior Poster
3,713 posts since Jun 2007
Reputation Points: 462
Solved Threads: 392