1
I'm trying to make a script that enables people to choose between a flash banner and a plain image banner. In it, i'm making it read the database to find out exactly what the user has selected. To achieve this, I have to finish the following code:
$fbannerenabled = mysql_query("SELECT 'flashbanner' FROM 'dnet_user_profile' WHERE 'profileid' = ''");
Where is, is where I need to be able to somehow get a variable that indicates which user you are logged in as.
I always thought this was $uid;, but that didn't work.
I have created a script called "flashbanner.php" which resides in the "/include" folder, and is included from "header.php".
Who is able to help me?