To see if something is numeric (a number) then use is_numeric(). All form
data is returned as strings so checking a form value as an integer will
return false.
http://www.php.net/is_numeric
| PHP动态 | 经典文章 | CLASS | 相关下载 | 常见问题 | FORUM | WIKI | 在线手册 |
|
| ||||||||||||||||
| view source | feedback | send page | sitemap | aboutus |
|
Copyright ® 2002-2003 PHPE.NET. All rights reserved Last updated:2002-11-22 |