this is not working for me as the code i need is for me to use the session information to display user info
e.g.
PHP Code:
);
}
$fetch=mysql_fetch_object(mysql_query("SELECT * FROM users WHERE username='$username'"));
This is the code i will use to fetch the data from that specified username
For the moment i am using cookies so my $username bit is this
PHP Code:
]))
$username = $_COOKIE['ID_my_site'];
i want to get rid of cookies and use sessions but still be able to do this
PHP Code:
$username = get_info_from_session
echo $fetch->username
something along these lines