PDA

View Full Version : how would i do this...


Tryfwar
17 Apr 2003, 00:44
i have a an array which is is made up in a similar way to showgroups.php which basicly is a rollcall with various details listed in: http://forums.mortalis.com/rollcall.php

What i would like to do is have different font styles where any occurence of 'Guild Officer', 'Guild Member', 'Guild Leader'.

for e.g. all occurences of Guild Officer would be red and italic, any occurences of member would be green and normal.

Would it be at the stage when the array is built in the php or would it be a manipulation with html from within the forum template?

Thanks :)

Tryfwar
17 Apr 2003, 00:55
Here is where my array is built within rollcall.php


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



And here is the contents of my template bit:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------