Jump to content

unable to get results from more than 1 row...


larry_boy_44

Recommended Posts

Hey, I have a page I'm making with PHP and this is my query:

 

"Select

    Author.`FirstName`,

    Author.`LastName`,

    Article.`Date`,

    Article.`Title`,

    Article.`Description`

From

    Author  Author,

    Author_Article_Intersect  Author_Article_Intersect,

    Article  Article

Where (

            Article.ArticleID = Author_Article_Intersect.ArticleID

    And    Author_Article_Intersect.AuthorID = Author.AuthorID

)"

 

and I have a major problem... I am only getting the first row of results... So I get row 1... If I use a specific AuthorID number (my ultimate goal) I can get 1 different row other than row 1, but still cant' get more than 1 row in the results...

 

Do you guys have any ideas why?

what is you php code?

 

also this

 

From

    Author  Author,

    Author_Article_Intersect  Author_Article_Intersect,

    Article  Article

 

is not need as it means the same thing as:

 

From

    Author,

    Author_Article_Intersect,

    Article

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.