PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, December 29, 2021

[FIXED] how do i get a list of countries in my website

 December 29, 2021     javascript, jquery, php     No comments   

Issue

I am trying to find a way to display all countries list in a dropdown. Is there any short code in php or jquery to get a list of countries on my webpage? Thank you in advance.


Solution

I suggest using:

https://github.com/umpirsky/country-list

It gives you the list of countries in different formats (Text, JSON, PHP ...)

Or if you want just a quick HTML list then go to:

http://www.textfixer.com/resources/country-dropdowns.php

You can literally just copy paste those values into wherever you want, or you can call that page.



Answered By - kamal
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing