Home  >  Article  >  Backend Development  >  PHP输出uniqueidentifier类型有关问题【】

PHP输出uniqueidentifier类型有关问题【】

WBOY
WBOYOriginal
2016-06-13 12:03:041131browse

PHP输出uniqueidentifier类型问题【在线等】
我用PHP查询SQL2005数据库里的某表时,表的ID数据类型是uniqueidentifier类型,我想把这列输出在页面上,请问有什么办法。在线等,谢谢。
------解决方案--------------------
他是 16 字节的二进制数据,读出来应该是个串
你给我看看,才好说怎么做
比如读出后保存在变量 $id 中
你就 echo base64_encode($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