G
Guest
I have an asp page in my website(userpage.asp), which will be displayed after a user is logged into the site. According to the user id I want to display a set of linkss. For this purpose I used the custom query option in the database results wizard. The query I typed is as below;
SELECT title,link FROM links WHERE 'Semester= & semester'
The database that I'm accessing has tables called, students and links. After a valid user is logged in, a session variable will be set to store the semester value of that user, from the student table. I want to use this session variable value in the above query to get a set of links from the links table, where the semester value is matching.
But the above query keeps on giving problems. Please help me with this.
Thanks
Weavedev
SELECT title,link FROM links WHERE 'Semester= & semester'
The database that I'm accessing has tables called, students and links. After a valid user is logged in, a session variable will be set to store the semester value of that user, from the student table. I want to use this session variable value in the above query to get a set of links from the links table, where the semester value is matching.
But the above query keeps on giving problems. Please help me with this.
Thanks
Weavedev