i searcher over the forum and found a topichttp://www.chronoengine.com/forums.html?cont=posts&f=12&t=11019 almost with the same problem but in different way
im making a site where there is several sport blogs, and in each will be a module with last results, but those results will be all in the same DB, and the chronoconnectivity is perfect for that, i have the freedom to filter the results
but my problem is that i want in the blog about rugby for exemple, the "last results" module showing the rugby last 10 results
im new with this "query sql thing" and i got stuck in this
that is almost working but i cant go any further, the problem is with this code i filter the last 10 results but the 10 results of all sports, and can show from 0 to 10 of rugby results, dependind on the updates...
is there another way to show only the last 10 results, maybe changing the "select max(cf_id)" or using css or php to limit the number?
thanks and sorry for the bad english 😀
im making a site where there is several sport blogs, and in each will be a module with last results, but those results will be all in the same DB, and the chronoconnectivity is perfect for that, i have the freedom to filter the results
but my problem is that i want in the blog about rugby for exemple, the "last results" module showing the rugby last 10 results
im new with this "query sql thing" and i got stuck in this
WHERE sport = 'rugby' AND cf_id>=(select max(cf_id)-10 from jos_chronoforms_resultados) AND cf_id IS NOT NULL ORDER BY recordtime DESC
that is almost working but i cant go any further, the problem is with this code i filter the last 10 results but the 10 results of all sports, and can show from 0 to 10 of rugby results, dependind on the updates...
is there another way to show only the last 10 results, maybe changing the "select max(cf_id)" or using css or php to limit the number?
thanks and sorry for the bad english 😀