I ended up adjusting the SQL a bit and it worked like a charm! Thanks again for the solution.
[code=mysql]
SELECT at.authorName
FROM authorTable AS at
INNER JOIN authorArticleLi st AS aal
ON at.aID=aal.aID
WHERE aal.articleID = {$articleRow['articleID']}
[/code]
User Profile
Collapse
-
-
Thanks Atli, This will definitely give me something to play with tomorrow. I appreciate your help!Leave a comment:
-
Grouping results with PHP
Hello,
I'm a bit of a newcomer to PHP and am having an issue I can't overcome.
I've read some great posts on the issue of grouping results on this forum 1 and can happily display results under a common variable. The problem occurs as I want to display the common variable after the grouped results.
I'm attempting to write out the results of a query for journal articles in a citation format that lists authors...
No activity results to display
Show More
Leave a comment: