php - 使用 $row[$variable] 以大写字母回显文本
问题描述
' . $row['variable_output'] . '
如何使用我的代码以大写字母回显文本。我已经阅读并使用了这个如何以大写字母回显文本?但没有用。
解决方案
你可能想要
echo strtoupper($row['variable_output']);
或者如果它是一个字符串连接:
echo 'some text here: '. strtoupper($row['variable_output']) .' more text here';
推荐阅读
- ios - Swift,Firebase - 将 CMSampleBufferRef 与相机的实时供稿一起使用
- python - 使用 pandas 或 csr_matrix 工作的项-项矩阵稀疏数据
- powerbi - Power Bi 刷新中的触发方式选项?
- javascript - v-if 有两个条件
- android - ViewPager 未显示在 NestedScrollView 内,其中包含 ViewPager 下面的 RecyclerView
- node.js - 节点服务器如何自动重定向与浏览器相同
- php - 删除 gVIM 中的大于 (>) 字符突出显示,它是一个模板文件,而不是 HTML
- sql - T-SQL 中的指数微分
- python - 如何修复 Python(Django Rest 框架模板)中的 UnicodeDecodeError?
- javascript - 从 CSS 径向渐变的顶行像素获取颜色值