Menu Close
    Hire us Request quote Reading list Switch to dark mode

    How to get all the allowed currencies having currency rates.

    Hello everyone, sometimes we need all those currencies that are allowed by admin and also have conversion rates set by the admin.

    Following code will help you to achieve this.

    First of all, In the Helper construct, add the following code,


    after that, you can write this function to get the currencies codes with their corresponding names as below-


    if you print $currencyData, it will display the result as you can see in the image-


    This is all for now. Hope this will help.

    For any queries, comment below.

    . . .

    Comment

    Add Your Comment

    Be the first to comment.

    Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just received your message and our expert will get back to you shortly.
    Send Again
    Close