The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Hybrid View

probs with recalling variables

hello everyone
if i just use
session_start();
it works fine but as soon as i try to check it the array ( $result ) is there is throws up an obscure error
Parse error: parse error in c:\apache\htdocs\bar.php on line 119

the following is line 118/119
which as you can see has no php in it and isnt even in an area that the php should parse

<a class="barLink" href="#" onMouseOver="window.status='[ Check out where you stand and the top 50 ]';return true;" onMouseOut="window.status='';return true;">Rankings</a><br>

and the following is the php i am using
no php is used on the bar.php except getting sessions
the session works fine on the other pages included but its throwing up that weird error
anyone got any ideas?
<?
session_start();
if( !$result ){
die(cookies_invalid());
function cookies_invalid()
{
include("nocookies.php");
}
?>