![]() |
Problem calling $count[threads] variable
im working on a little hack, however im having a problem calling a variable in a template. here is the call:
$count[threads] new thread$pluralthread If a new thread(s) have been made, the # will show no problem - the plural variable is working fine also. However, if no threads have been made, instead of showing 'No' like i think i specified below, nothing is showing up. Heres the code where they are defined: Code:
$newthreads = ''; |
i think you would get type mismatches here try this code:
PHP Code:
|
nope..still not showing the 'No'
this is where im calling it: Code:
<img src="/bullet.gif">$count[threads] new thread$pluralthread<br /> |
try this code then:
PHP Code:
|
that was it! thanks much..i really appreciate the help :)
|
:)
no problem, you're welcome :) |
All times are GMT. The time now is 09:00 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|