From your original post, I see you are using the echo <<<END .... END; syntax. In order for that to work properly, the closing END; must be the first item on its line.
PHP Code:
// Invalid example: echo <<<END Lorem Ipsum blah blah END;
// Valid example: echo <<<END Lorem Ipsum blah blah END;
Remember that all of the spacing that you include in that echo statement will be written to the output.
If that doesn't fix the problem, then you may have an unclosed curly brace somewhere. I think I sometimes get your error when I forget the a closing brace in my scripts.
Also, I noticed something else that could be a typo in the code (but it wouldn't cause this problem.) You have a double $$ for $dbuser, and it doesn't look like it should be in this case:
PHP Code:
mysql_connect($dbloc,$$dbuser,$dbpass);
__________________
The interlocking pieces of web development: usability, performance, accessibility, and standards.
|