PHP Classes

showing flags

Recommend this page to a friend!

      PHP Emoji Country Flags  >  All threads  >  showing flags  >  (Un) Subscribe thread alerts  
Subject:showing flags
Summary:cannot display flags
Messages:3
Author:Joseph Schembri
Date:2017-01-27 04:31:55
 

  1. showing flags   Reply   Report abuse  
Picture of Joseph Schembri Joseph Schembri - 2017-01-27 04:31:55
Having trouble trying to display flags.

Can you give me an example php script to display a flag.

I tried as in your documentation, but all I get is two letter codes but no flags

Thanks

Joe

  2. Re: showing flags   Reply   Report abuse  
Picture of Peter Kahl Peter Kahl - 2017-01-27 04:53:53 - In reply to message 1 from Joseph Schembri
Ha ha.

Your system doesn't have emoji flags installed.

Of course, you must use a system that has emoji, like iOS, macOS or Android. Even Windows may have emoji.

  3. Re: showing flags   Reply   Report abuse  
Picture of Peter Kahl Peter Kahl - 2017-01-27 09:13:22 - In reply to message 1 from Joseph Schembri
One more comment.

The flag must exist. This means that a valid 2-letter ISO code must be used.

Here is the list of all available emoji symbols:

unicode.org/emoji/charts/full-emoji ...

The flag must be listed there.