Hi, this is my first question here, so I hope I’m not posting this in the wrong place.
My problem is the following:
I’m using the Query Module to get information based on the year of that information. What I wanna do is wrap and print this information based on the year. In PHP I’d do this by using a loop. Example:
<?php
for ($count=$firstyear; $count<=$lastyear; $count++)
query="select * from mytable where year=$count";
?>That way I don’t have to write each query. The loop takes care of that.
So, is there any way of doing this with the Query Module?
Once again, I really hope this is the right place to post this question. As I said, I’m new on the forum.
Thanks in advance!