Hi,

I need help. I have a marketplace page which has a table which shows all the different contests. However, when i have selected a particular contest and returns to the contest page, im not supposed to see THAT CONTEST anymore. The problem should lie with the select statement.
Marketplace uses a database table called CONTEST and the people who selected the contest will be saved into CONTESTANTS table.
CODE
$result2;
if ($select==""){
$result2=mysql_query("select * from Contest c, Contestants d where NOT (c.CON_ID = d.CON_ID AND c.CON_TITLE = d.CON_TITLE) ORDER BY $sort LIMIT $offset, $rowsPerPage");
}
PS:USERS ARE USING COOKIES.
USER_NAME = '$_COOKIE[ID_my_site]'
thanks!!!(:
This post has been edited by dilemmalurve: 20 Jul, 2008 - 06:58 PM