我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何检查输入值是否为货币符号?

How can we validate if the user input a currency symbol or not. The current one I made was limited to check if the input is a symbol but it doesn't work with all the currencies for example

whenever I add ₹ symbol and it saves in the database as â and also that it does shows its strlen is 3.

近期文章

  • 动态数组和Array_unintersect_assoc()|| Array_unintersect()
  • 我不应该将Laravel控制器用于非http请求
  • Ratchet Websocket服务器在一小时后停止响应
  • 使用Steam身份验证的页面重定向和引荐来源
  • PHP可以继续/编辑页面Post / RedirectGet Pattern PHP
  • 使用标题和类别将图像上传到图库的问题
  • 如何使用查询字符串将经度和纬度从Android传递到PHP文件
  • 通过PHP的XML时间戳
  • InvalidValueError:在属性latLng中:不是LatLng或LatLngLiteral:不是Object
  • 如果选择了当前帖子的类别,如何在wordpress中的表格中插入数据?
  • 在Symfony2中创建命令
  • 使用php自动打印
  • PHP,如何在不丢失信息的情况下缩短字符串
  • WordPress删除附件脚本
  • 下载文件时出现Google Drive 403错误
  • PHP脚本等待前一个完成
  • 使用php上传文件并在mysql列中插入其路径
  • 删除php表中每一行的按钮
  • 如何在htaccess中重写页面名称
  • 从openssl配置确定加密强度

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华