Re: Help needed on a small SELECT/JOIN statement
Thanks for the fast reply! I'll give that query a shot. A few follow up questions:
1. The id used in the views table is the same as the article table. So if someone clicks on article #4, then an entry is made to the views table with their ip, 4 as the id, and type=article. That's my newbie way of tracking unique views. You mentioned my naming convention so I'd love to hear any improvements that I should make. Criticism will definitely help me learn.
2. If using PHP to output this query, in my while statement everything is an array of $query_data. Could I just refer to the count then as $query_data[num_views]?
Thanks again!
Subject
Views
Written By
Posted
2527
November 04, 2005 10:23AM
1648
November 04, 2005 11:52AM
Re: Help needed on a small SELECT/JOIN statement
1640
November 04, 2005 12:02PM
1664
November 04, 2005 01:11PM
1654
November 04, 2005 01:32PM
1622
November 04, 2005 03:12PM
1352
November 04, 2005 03:19PM
1597
November 04, 2005 12:34PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.