Hi i just want to know that how to connect php with sql server..because i have database in my sql server....
regards..
Farhad
Farhad.idrees
1
Junior Poster in Training
Recommended Answers
Jump to Posthttp://www.php.net/manual/en/refs.database.php
Happy reading.
Jump to Post<?php $user='cwarn23'; $password='password'; $database_name='cwarn_phpbb'; mysql_connect('localhost',$user,$password); mysql_select_db($database_name);
All 6 Replies
cereal
1,524
Nearly a Senior Poster
Featured Poster
cwarn23
387
Occupation: Genius
Team Colleague
Featured Poster
Farhad.idrees
1
Junior Poster in Training
cwarn23
387
Occupation: Genius
Team Colleague
Featured Poster
Stefano Mtangoo
455
Senior Poster
arajapandi
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.