Query problem
Posted: Wed Jun 27, 2007 9:33 am
Hello all,
I have a query and I'm not sure why it's giving me 2 rows of the same results. Can someone tell me what I am writing wrong?
Thanks
I have a query and I'm not sure why it's giving me 2 rows of the same results. Can someone tell me what I am writing wrong?
Code: Select all
$query = "SELECT Lesson.lesson_name, Lesson.title, Lesson.content, Images.imageinfo, Images.description
FROM Lesson, Images WHERE (Lesson.lesson_id = '$LESSON' && Images.lesson_id = '$LESSON')";