Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > PHP

Reply
 
LinkBack Thread Tools
Old November 22nd, 2005, 09:03 AM   #1
New Member
 

Join Date: Nov 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 go4kpo is on a distinguished road
ODBC connection

I want to know how to make an odbc connection using php code.

Please send suggestions.

Thanks.

http://www.go4kpo.com
go4kpo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old November 23rd, 2005, 07:52 AM   #2
New Member
 

Join Date: Nov 2005
Location: Cleveland, Ohio
Age: 25
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 yngexec will become famous soon enough
Re: ODBC connection

Trying a Google Search is always a good idea.

Zend has some good info on this topic, as well...
yngexec is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 10th, 2007, 10:20 AM   #3
New Member
 

Join Date: Jul 2007
Location: England
Age: 23
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 azilaka is on a distinguished road
Re: ODBC connection

http://www.phpfreaks.com/tutorials/61/0.php Follow this link to a tutorial. It really helped me. You have to scroll to the bottom of the page each time though! Here is the code to connect, but you should definately check the tutorial to explain it.
<?php
$odbc
= odbc_connect ('NameOfDatabase', 'user', 'password') or die('Could Not Connect to ODBC Database!');
?>
azilaka is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
odbc , connection


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

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic DSN-Less Connection to DB Corey Bryant Classic ASP 7 October 26th, 2007 02:08 AM
Asp to MSAcess connection? tolis Classic ASP 6 October 19th, 2007 03:12 AM
DB connection problem Strike Classic ASP 1 July 4th, 2006 05:45 AM
Database connection fogofogo Classic ASP 7 December 5th, 2005 10:25 AM
'ODBC'@'localhost' error Sqrlgrl Databases 8 November 21st, 2005 09:27 AM


Search Engine Optimization by vBSEO 3.2.0 RC8