your code should work. i think:
a-you have more code than you posted and something else is interfereing
b-you edited spelling or capitals/lowercase when posting
c-your saving the wrong file and there is another variable.inc.php in another folder or something
whenever your debugging a script, put this at the top of your script. it will often show your problems to you.
error_reporting(E_ALL);
also,
instead of doing this stuff
----start of my page------
and use
bbcode tags around your code. then it will look like the snip in this post