Hi there
i got an page that holds the variable $rtttl
Now i want to display a image with text when $rtttl has more then 50 caracters and nothing a picture with text when it has less
How do i do this?
Need some help on if $rtttl >50
Moderator: General Moderators
I don't realy understand what you are up to, but that can be it.
Code: Select all
if(strlen($rtttl)>50) {
echo "what you want";
} else {
echo "what you want";
}