Welcome Guest, Not a member yet? Register   Sign In
query within query ...
#1

[eluser]xerosis[/eluser]
I have two tables in my database:

1. keyword (id, title)
2. keyword_stats (id, keyword_id, clicks, views, date)

Now I want to make a <table></table> where based on a form where users assigns a startdate and enddate the table is filled with:

1. title of keyword
2. sum of clicks
3. sum of views

How can I do this in my model and controller and views pages?

Thanks.




Theme © iAndrew 2016 - Forum software by © MyBB