![]() |
Quote:
|
Sorry for the bump, the help has been great so far though!
|
Try this:
PHP Code:
|
HUZZAH it works, just another quick question though, how do I make a statement if a value is less than something.
So say HTML Code:
<if conditional=$auinfo[total] IS LESS THAN $auinfo[posts]> HTML Code:
<td class="alt2"> Parse error: syntax error, unexpected T_DO in /home/geekstep/public_html/includes/adminfunctions_template.php(3938) : eval()'d code on line 9 This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. |
Less than...
PHP Code:
PHP Code:
PHP Code:
|
You should also quote the array key inside a template conditional.
PHP Code:
|
Now a new problem arises. I am trying to make a variable changeable depending on the users selection so that if their post count does not meet the requirements staff are noted.
Basically I want to make the following HTML Code:
however the code I am using in my PHP file does not display the stuff set when I add $conditional into my template here is the code PHP Code:
|
Bump
anyone please?? |
Sorry for another bump but I really need help on this I am at wits end...
|
Change...
PHP Code:
PHP Code:
Edit: To clarify, this is what you would use if you're trying to utilize this in the postbit template. |
All times are GMT. The time now is 01:36 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:
|