Current location: Hot Scripts Forums » Programming Languages » PHP » How do i Connect to other Databases (like Access, SQL Server) using PHP?


How do i Connect to other Databases (like Access, SQL Server) using PHP?

Reply
  #1 (permalink)  
Old 02-21-05, 04:55 AM
EvilDeveloper's Avatar
EvilDeveloper EvilDeveloper is offline
Newbie Coder
 
Join Date: Feb 2005
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
How do i Connect to other Databases (like Access, SQL Server) using PHP?

Help me in connecting to other DBMS like Access, SQL Server 2000 by using PHP
Reply With Quote
  #2 (permalink)  
Old 02-21-05, 06:17 AM
NeverMind's Avatar
NeverMind NeverMind is offline
Community VIP
 
Join Date: Aug 2003
Location: K.S.A
Posts: 2,257
Thanks: 0
Thanked 2 Times in 1 Post
either with ODBC or COM
http://www.php.net/manual/en/ref.uodbc.php
http://www.php.net/manual/en/ref.com.php

look at users' comments, they have some useful tips there
__________________
PHPSimplicity
We don't need a reason to help people - Zidane [FF9]

Last edited by NeverMind; 02-21-05 at 06:19 AM.
Reply With Quote
  #3 (permalink)  
Old 02-21-05, 12:09 PM
digioz's Avatar
digioz digioz is offline
Community VIP
 
Join Date: Oct 2003
Location: Chicago, IL
Posts: 2,171
Thanks: 3
Thanked 9 Times in 9 Posts
Here is a useful tutorial from phpfreaks.com on connecting to a Microsoft Access Database through PHP:

http://www.phpfreaks.com/print.php?c...rial&tut_id=61
__________________
Reply With Quote
  #4 (permalink)  
Old 02-22-05, 07:28 AM
moronovich moronovich is offline
Junior Code Guru
 
Join Date: Oct 2004
Posts: 460
Thanks: 0
Thanked 0 Times in 0 Posts
if you are advanced enough in php, you can try john lim's adodb. its the most robust database abstraction ever made (and it's fast).
anyway, if you're interested in php new feature, you can try pdo. its the candidate for all database extension substitute (ext/mysql, ext/oci8, ext/pgsql, etc)
__________________
just an ignorant noob with moronic solution...
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i Connect to an Access database in web server Romeo Visual Basic 6 11-07-04 12:46 PM
How Can i connect sql database with php? I'm New in PHP zahid PHP 1 06-01-04 10:12 AM
Unable to connect to MSSQL with PHP through a firewall whiplashdomain PHP 1 01-31-04 07:17 PM
Script Conversion: Access Database/Now to SQL PaniXOH ASP 1 11-14-03 09:35 PM
change my field in this example sal21 ASP 3 07-14-03 02:49 AM


All times are GMT -5. The time now is 05:33 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.