• Resolved alexandraka

    (@alexandraka)


    hello,

    something apparently simple ; I am looking for the category of an events (in php)

    I have my function which receives the event_id… but how can I get the event category name ?

    function get_color ( $id ) {
    
    switch $category
    categ1 : $clor=blue
    categ2 : $clor=red
    categ3 : $clor=pink
    blablabla
    
    }

    Cheers
    Alexandra

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘get category by id’ is closed to new replies.