hi,
i studied the JOIN manual over and over and it looks like i´m just too stupid to manage the following:
table_permissions holds id, username, projectname and level.
table_projects holds id, projectname and description.
to get a list of projects to which the user has access to i´d select projectname from table_permissions where username = $username and level > 0
then i´d need to do some sort of join to get the corresponding id from table_projects for each projectname.
the output should be a list of links that look like this:
[CODE]<a href=”projects.php?id=$id_from_table_projects”>$projectname</a>
thanks in advance for your help.
jogol