Ninth Dimension
08-24-2002, 10:39 PM
Hi, what am I doing wrong in the query below?
SELECT vbs_chapters.id,vbs_chapters.chapterid,vbs_chapter s.storyid,vbs_chapters.title,vbs_chapters.body,vbs _chapters.path1,vbs_chapters.path2,vbs_chapters.us erid,vbs_chapters.dateline,vbs_chapters.display,us er.username FROM vbs_chapters,user $showallvalue AND vbs_chapters.storyid = $storyid AND vbs_chapters.userid=user.userid ORDER BY vbs_chapters.chapterid
I've attached the sql for the tables so you can see them if you want to.
SELECT vbs_chapters.id,vbs_chapters.chapterid,vbs_chapter s.storyid,vbs_chapters.title,vbs_chapters.body,vbs _chapters.path1,vbs_chapters.path2,vbs_chapters.us erid,vbs_chapters.dateline,vbs_chapters.display,us er.username FROM vbs_chapters,user $showallvalue AND vbs_chapters.storyid = $storyid AND vbs_chapters.userid=user.userid ORDER BY vbs_chapters.chapterid
I've attached the sql for the tables so you can see them if you want to.