KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

You're using the BSELECT (Select Box) widget in KoolReport and you want to display month names instead of month numbers #3191

Open Augustine Arthur opened this topic on on Nov 20, 2023 - 1 comments

Augustine Arthur commented on Nov 20, 2023

How do I change the month numbers into month names in BSELECT select box

KoolReport commented on Nov 21, 2023

Hi,

You do:

<?php
BSelect::create(array(
    'name'=>"my_select",
    "placeholder"=>"Select customer",
    "data"=>array(
        "January"=>"1",
        "February"=>"2",
        "March"=>"3",
        ...
    )    

));
?>

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None