string(1) "1"   ["radioname"]=>   string(1) "小二" &nb"/>      string(1) "1"   ["radioname"]=>   string(1) "小二" &nb">
Home > Backend Development > PHP Tutorial > php查询数据库的int字段,打印出来如何是字符串类型呢

php查询数据库的int字段,打印出来如何是字符串类型呢

WBOY
Release: 2016-06-13 12:39:41
Original
1120 people have browsed it

php查询数据库的int字段,打印出来怎么是字符串类型呢?
array(9) {
  ["id"]=>  
  string(1) "1"
  ["radioname"]=>
  string(1) "小二"
  ["author"]=>
  string(9) "小三"
  ["did"]=>
  string(1) "1"
.............

就连主键自增的id也是字符串类型,求解,谢谢

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