First of all, 'include' is lower-case. Secondly, this is almost certainly a register_globals problem. Where is $bubblecursor coming from? If it's in the URL (e.g. script.php?bubblecursor=true) or a form with the GET method, then you need to read it via the $_GET superglobal, e.g. $_GET['bubblecursor']. Otherwise, if it's coming from a form with the POSt method, you need to use the $_POST superglobal.