Hello guys,
I have a php question:
To add an new array (In details.html and details.php) you use:
In details.php:
$site_template->register_vars(array(
"test" => $lang['test'],
"test1" => $lang['test1'],
));
and then in details.html you use:
{test}
How can I add a new array {hits2}:
{hits2}= {image_hits)+1000 to use it in details.html.
I already add {lang_hits2} (NO PROBLEM), but the otherone I couldn't.
Thank you in advance,
Cruxy