Forum
Calc Builder Support
Calc Builder supportForums
No se permite escribir sin estar logado. Por favor, login
Re: Generate a 'next' number 07.08.2012 09:10
Hello,
in order to get an automatic counter, you could use a database query at code section, for example counting the stats rows:
SELECT count(distinct idrequest) FROM #__calcbuilder_stats;
To execute a query you can check the joomla docs to find the right code and some examples:
http://docs.joomla.org/Accessing_the_database_using_JDatabase
Hope this helps,
Moonsoft Team
www.moonsoft.es
in order to get an automatic counter, you could use a database query at code section, for example counting the stats rows:
SELECT count(distinct idrequest) FROM #__calcbuilder_stats;
To execute a query you can check the joomla docs to find the right code and some examples:
http://docs.joomla.org/Accessing_the_database_using_JDatabase
Hope this helps,
Moonsoft Team
www.moonsoft.es