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

WBOY
Release: 2016-06-13 12:03:04
Original
1129 people have browsed it

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