This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

How do I extract page-specific stat from the comments?
#1

I desire to extract page-specific summary data from the comments pool. Naturally, I thought of the comments table in the database but I discovered it has no field indicating the page on which the comment was made. I am thinking of adding the required column to the table (to be populated via the $page_id variable) but I am not sure I can handle the code to update this column during the form-submit process (I am so much scared of breaking code!). Also, I imagine there could already be a neat way out - so why reinvent the circle? Thanks in advance.
Reply
#2

Oops, awkward me. I was so fixated on what I wanted (custom_id) that I totally failed to see what I needed staring me in the face (i.e. page_id field which would have a 1:many relationship with the id of Pages table). I am sorry. Please ignore the original request.
Reply
#3

That's right, glad to see you resolved it Wink

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Toeb
17-Oct-2021, 07:55 PM
Last Post by Steven
06-Aug-2021, 06:50 PM
Last Post by Steven
27-Jul-2021, 07:12 PM
Last Post by clixcity
29-Jul-2020, 07:56 PM
Last Post by Steven
09-Jul-2018, 08:40 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)