Home > Backend Development > PHP Tutorial > 后台程序也有浏览器兼容有关问题

后台程序也有浏览器兼容有关问题

WBOY
Release: 2016-06-13 11:50:00
Original
1124 people have browsed it

后台程序也有浏览器兼容问题?
if(!is_numeric($num)){
echo '<script>alert("请输入数字!");</script>';
}

在IE浏览器下输入数字也会执行if里的弹框 求解
------解决方案--------------------
后台程序跟浏览器兼容木有关系啊
------解决方案--------------------
$num 从哪来的,打印出来看看

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template