Home > Backend Development > PHP Tutorial > sql server-php连接sqlserver2000 读取数据时 特殊符号变成?号

sql server-php连接sqlserver2000 读取数据时 特殊符号变成?号

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-02 11:31:00
Original
1058 people have browsed it

sql serverphp数据数据库select

在使用php连接sqlserver2000 读取数据时 特殊符号变成?号
数据库原数据
图片说明
读取后的数据
图片说明

使用的php 代码

<code> $conn=mssql_connect('210.51.191.114,1433','sa','nebbj20071103'); mssql_select_db('neb');$query=mssql_query("select ID,Productname  from [Products] where Productname like '%q5%'");while($arr=mssql_fetch_array($query)){    echo $arr[1],'<br>';}</code>
Copy after login

各种转码 编码都试了 还是 ?号 各位大神帮帮忙!!!!

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