Home Backend Development PHP Tutorial PHP file MSSQL file PHP file ▼ | Ning涔嫔

PHP file MSSQL file PHP file ▼ | Ning涔嫔

Jul 14, 2016 am 10:10 AM
mssql php

鍦≒HP 鎿鎶綔MSSQL锞涴渶丸丸纭畾绯獤粺鄄勮繍琛瀹徧澩槸钖︽敮鎸侊纴杩愯浠浠ヤ笅璇彞珏狠煡lang Pu Jian


[php]
if (function_exists('mssql_connect')){
echo 'chain嚱鏁板瓨鍦纴璇ancun槑鐜鏀寔MSSQL';
}else{
echo ' }

if (function_exists('mssql_connect')){

echo 'chain嚱鏁板瓨鍦纴璇ancun槑鐜鏀寔MSSQL';
}else{
echo 'SSQL\PACHE\PACHE\?#39;; }褰 Yang HP鐜涓嶆镮鎸佹椂璇玛瀹変 mutual 涓嬬殑鏂regulation綶杩涜鐜鄄勯利缃?/p>
1. PHP.INI extension=php_pdo_mssql.dll xtension=php_mssql.dll?ldquo;;" Ao Yue Xi base 鍒 plate 拰 mssql 鐐 draft 叧 镄勫瓧鐪緺纴鮮禸浠栧掎鐢绂

2 銆䷷綘鄄勮獛琛尀将徧姧腑涓brand 竴瀹氭湁杩炴帴MSSQL鄄勮繛玺ュ簱锛屾姍浠ヤ綘蹇呴涶嫫€镆ヤ竴涓嬩綘鄄KaiHP搩綍涫嬫槸钖﹀瓨鍦╡xt鐩綍涓嬬殑php_mssql.dll鍜宯twdblib.DLL锛尀embroidery涓婃湁鏂囩珷璇渶綆丆OPY鍒itchINDOW S/SYSTEM32鐩

3 銆侀 tons钖竴涓婣PACHE锛屽啈Huanhui ammonia green emerald kettle chain coax 瓙read嶅烎锛埛徟湁镞跺€椤 ammonia鄄umbrella涔韚彉镐侊级銆? /p>

What is the best way to use PHP+MSSQL? The board is gone邂銆?/p>

[php]

mssql_select_db($db_name,$conn);
$sql="INSERT INTO contacts (ID,MemberNo,Name,CustomerStateID,Ext,Phone,Mobile,email,QQ,Gender,Company,Province_ID,City_ID,Address,Postalcode) VALUES (4,'BX4','鍒华江',1,'','','13924007557','','153216429','鐢?#39;,'鍗庡强奇濋橹浠g悊chain夐檺鍏從鞞笢卒嗗叕鍙?#39;,0,0,'骞鈞骞宁卝秺绉€鍖红揪阆撹捾5鍙峰 hoop Chen箸炲啖鍖 baking湇锷′酑蹇冨ぇ铡?妤?#39;,' 510035' )";
$sql=iconv ('utf-8','gb2312',$sql);
$query=mssql_query($sql,$conn);

mssql_select_db($db_name,$conn);

$sql="INSERT INTO contacts (ID,MemberNo,Name,CustomerStateID,Ext,Phone,Mobile,email,QQ,Gender,Company,Province_ID,City_ID,Address,Postalcode) VALUES (4,'BX4','鍒华江',1,'','','13924007557','','153216429','鐢?#39;,'鍗庡强奇濋橹浠g悊chain夐檺鍏從鞞笢卒嗗叕鍙?#39;,0,0,'骞鈞骞宁卝秺绉€鍖红揪阆撹捾5鍙峰 hoop Chen箸炲啖鍖 baking湇锷′酑蹇冨ぇ铡?妤?#39;,' 510035' )";

$sql=iconv ('utf-8','gb2312',$sql);濿 borrow pregnant adze 屾垜眏秸鍦ㄨ umbrella涓棣氰欂笾犵粨浜嗗綢涔?br /> $query=mssql_query($sql,$conn);捡悂灉涓brand 笂iconv枞崲锛屼笉钖咀殑炂栫戜浼氶€犳垚mssql_query杩斿洖false,鴴戝凡缁忎gall鐢ㄤ简@mssql_query("SET NAMES UTF8",$conn); What's the point?/p>
瀹屾垚涓婇剄啄勫瀀 chain槸鍙mutual regulations 暟鎹簱杩涜鎿新綔浜嗐€?/p>

http://www.bkjia.com/PHPjc/477514.html

truehttp: //www.bkjia.com/PHPjc/477514.htmlTechArticle鍦≒HP鎿鎴綔MSSQL鈥渞fall渶簸厛纭畾獤粺鄄翮繍琛瀀[php] if (function_exists(mssql_connect)){ echo鐜鏀?..
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

CakePHP Project Configuration CakePHP Project Configuration Sep 10, 2024 pm 05:25 PM

In this chapter, we will understand the Environment Variables, General Configuration, Database Configuration and Email Configuration in CakePHP.

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian Dec 24, 2024 pm 04:42 PM

PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

CakePHP Date and Time CakePHP Date and Time Sep 10, 2024 pm 05:27 PM

To work with date and time in cakephp4, we are going to make use of the available FrozenTime class.

CakePHP File upload CakePHP File upload Sep 10, 2024 pm 05:27 PM

To work on file upload we are going to use the form helper. Here, is an example for file upload.

CakePHP Routing CakePHP Routing Sep 10, 2024 pm 05:25 PM

In this chapter, we are going to learn the following topics related to routing ?

Discuss CakePHP Discuss CakePHP Sep 10, 2024 pm 05:28 PM

CakePHP is an open-source framework for PHP. It is intended to make developing, deploying and maintaining applications much easier. CakePHP is based on a MVC-like architecture that is both powerful and easy to grasp. Models, Views, and Controllers gu

How To Set Up Visual Studio Code (VS Code) for PHP Development How To Set Up Visual Studio Code (VS Code) for PHP Development Dec 20, 2024 am 11:31 AM

Visual Studio Code, also known as VS Code, is a free source code editor — or integrated development environment (IDE) — available for all major operating systems. With a large collection of extensions for many programming languages, VS Code can be c

CakePHP Creating Validators CakePHP Creating Validators Sep 10, 2024 pm 05:26 PM

Validator can be created by adding the following two lines in the controller.

See all articles