• Ok, I have searched the net for hours, but I couldn’t get an answer for my question.

    If we use the for “each function” in php we can get a list of items like:
    Jack
    John
    Adrian
    Etc

    But the first name a want to have bold so it looks like:
    Jack
    John
    Adrian
    Etc

    Best way for me to do this, is to ad a class to the first name in the php code. But how do I do this? Cause the “for each” generates a list that is the same for eacht row (php/html code wise). So I only want the first name to be bold using a class (from a css) but all others not effected.

    Thx

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘for each question’ is closed to new replies.