Format output to lowercase

后端 未结 4 1685
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-29 11:53

I need to change the output of name; ?> to lowercase only.

Output now is Entertainment. How would I get it to

相关标签:
4条回答
  • 2021-01-29 12:17
    <?php echo strtolower($EM_Category->name); ?>
    
    0 讨论(0)
  • 2021-01-29 12:22

    In PHP you use:

    echo strtolower($EM_Category->name);
    
    0 讨论(0)
  • 2021-01-29 12:23

    That would be the strtolower function.

    <?php echo strtolower($EM_Category->name); ?>
    
    0 讨论(0)
  • 2021-01-29 12:31

    <?php echo strtolower($EM_Category->name); ?>

    http://us.php.net/strtolower

    0 讨论(0)
提交回复
热议问题