"IF" in PHP
2 posters
Page 1 of 1
"IF" in PHP
Can I use the word "if" in the PhP.
ie
if a member has 12 posts to display an image.
if a member has 34 posts to display another image ..
and continue..
ie
if a member has 12 posts to display an image.
if a member has 34 posts to display another image ..
and continue..
Guest- Guest
Re: "IF" in PHP
You can't use PHP full stop with forumotion. Only the php variables provided.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: "IF" in PHP
i have a rank image and team... but i want a step.
Ie.
avatar
step --> eg New Member-Member-Advanced Member-Expert Member....
Rank Image ---> Members-Moderators...
Stars--> if have 0 posts ...have one star.-1 star -2 stars-3stars-4stars...
Team --> Members.-Moderators...
Ie.
avatar
step --> eg New Member-Member-Advanced Member-Expert Member....
Rank Image ---> Members-Moderators...
Stars--> if have 0 posts ...have one star.-1 star -2 stars-3stars-4stars...
Team --> Members.-Moderators...
Guest- Guest
Re: "IF" in PHP
you can do all this in advanced profile fields to create another field, and the rest is just how you want to set you rank up with post counts.
Different rank image for each post count as you wish.
Different rank image for each post count as you wish.
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum