The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I've got a ranking script using the query below.
PHP Code:
PHP Code:
|
|
#2
|
||||
|
||||
|
Try:
$otherbits .= ', ' . trim($otherbits); |
|
#3
|
|||
|
|||
|
Pardon my ignorance, but where exactly is it placed? I've put it before, in and after the loop and nothing formats correctly.
|
|
#4
|
||||
|
||||
|
After.
|
|
#5
|
|||
|
|||
|
Like so, right?
PHP Code:
http://www.goldhelmet.com/rankings.php?week=1 |
|
#6
|
||||
|
||||
|
$otherbits = ', ' . trim($otherbits);
Sorry |
|
#7
|
|||
|
|||
|
Hmm, still no go. Wondering if it is something wrong with my if statement.
|
|
#8
|
||||
|
||||
|
Put this above the eval:
$otherbits .= ', ' . trim($otherbits); |
|
#9
|
|||
|
|||
|
No go. Duplicates the list numerous times. I tried without the . as well and it just prints like n number of ,s and then the list as it did before.
--------------- Added [DATE]1207013300[/DATE] at [TIME]1207013300[/TIME] --------------- Got it. I placed $otherbits = trim($otherbits, ', '); after the loop and it got the rangly rascal! Thanks for the gentle kick in the arse! |
|
#10
|
||||
|
||||
|
Above the eval, right?
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|