string(1) "1"  ["radioname"]=>  string(1) "小二" &"/>     string(1) "1"  ["radioname"]=>  string(1) "小二" &">

Home >Backend Development >PHP Tutorial >php查询数据库的int字段,打印出来如何是字符串类型呢

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 11:32:251145browse

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

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

Statement:
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