Mysql_select_db

     
Complete PHP.. MySquốc lộ Reference

Definition and Usage

The mysql_select_db() function sets the active MySQL database.

Bạn đang xem: Mysql_select_db

This function returns TRUE on success, or FALSE on failure.

Syntax

mysql_select_db(database,connection)

Parameter Description
database Required. Specifies the database khổng lồ select.

Xem thêm: Hướng Dẫn Kết Nối Máy Tính Với Máy In Qua Mạng Lan Đơn Giản Và Nhanh Chóng

connection Optional. Specifies the MySquốc lộ connection. If not specified, the last connection opened by mysql_connect() or mysql_pconnect() is used.

Example

$db_selected = mysql_select_db("test_db", $con);if (!$db_selected) die ("Can"t use test_db : " . mysql_error()); mysql_close($con);?>
Complete PHP MySquốc lộ Reference

Learn how your trang web performs under various load conditions

*
WAPT is a load, găng và performance testing tool for websites và web-based applications.In contrast to lớn "800-pound gorilla" load testing tools, it is designed lớn minimize the learning curve and give you an ability lớn create a heavy load from a regular workstation.WAPT is able to generate up khổng lồ 3000 simultaneously acting virtual users using standard hardware configuration.Virtual users in each profile are fully customizable. Basic và NTLM authentication methods are supported.Graphs & reports are shown in real-time at different levels of detail, thus helping to manage the testing process.

Download the không tính tiền 30-day trial!

WEB HOSTING
*
EcommerceComponentsfor ASP.NET
$15 Domain NameRegistrationSave $đôi mươi / year!
Buy UK Domain NamesRegister Domain Names
Cheap Domain NamesCheap Web Hosting
Best Web Hosting
PHP MySquốc lộ Hosting
Top 10 Web Hosting
UK Reseller Hosting
Web Hosting
FREE Web Hosting
WEB BUILDING
Website TemplatesFlash TemplatesWebsite BuilderInternet Business Opportunity
Custom Programming
FREE Trial or DemoWeb Content ManagerForms,Web Alerts,RSS
Download XML editor
FREE Flash Website
FREE Web Templates
EDUCATION
US Web Design Schools
HTML Certification
JavaScript Certification
XML Certification
PHPhường. Certification
ASP Certification
*
HOME orTop of Page
*
*
*
Printer Friendly
*

Chuyên mục: Domain Hosting