3 captures
26 Jun 2004 - 07 Feb 2013
May JUN Jul
26
2003 2004 2005
success
fail

About this capture

COLLECTED BY

Organization: Alexa Crawls

Starting in 1996, Alexa Internet has been donating their crawl data to the Internet Archive. Flowing in every day, these data are added to the Wayback Machine after an embargo period.

Collection: Alexa Crawl DX

Crawl DX from Alexa Internet. This data is currently not publicly accessible.
TIMESTAMPS

The Wayback Machine - http://web.archive.org/web/20040626005232/http://forums.devarticles.com:80/t7620/s.html
 
Developer Shed:  Dev Shed | ASP Free | Dev Articles | Scripts | Dev Hardware | Dev Archives | SEO Chat | itsALLnet | Web Hosters
Dev Articles Forums
 
 Forums: » Register « | User CP  |  Calendar  |  Members  |  FAQs  |  Archives | 
 
User Name:
Password:
Remember me
 



Viewing: DevArticles Community Forums > Programming > General Programming Help > Why, oh why or die("could not connect")

Reply
>> Motorola Cell Phones <<
 
 
Thread Tools Search this Thread Display Modes







  #1  
Old April 3rd, 2004, 11:31 AM
erwindc erwindc is offline
Registered User
 

Join Date: Apr 2004

Posts: 3

Post Why, oh why or die("could not connect")

hi,
I am trying to work with php and MS SQL

$connection = mssql_connect("localhost","sa","password");
$db = mssql_select_db("tz_base2", $connection) or die("Couldn't select database tz_base2."
);

When i enter de lines above, i get the error message mssql_connect not recognized.
Do i have an odbc problem or what is the ...

Reply With Quote







  #2  
Old April 5th, 2004, 07:15 AM
dhouston's Avatar
dhouston dhouston is offline
Moderator
 

Join Date: May 2003

Location: Tennessee

Posts: 1,098

Send a message via ICQ to dhouston

Default

This probably means that your PHP is not compiled with support for connecting to MS SQL databases. Create a script that contains the line phpinfo() and view the "configure" line (near the top) to see if support for MS SQL has been compiled in. If not, you'll need to recompile PHP with that option enabled.

__________________
Please don't PM me asking for solutions outside the scope of a thread.
Keeping all responses in a thread stands to help others who come along later,
which is after all what this forum's all about.

Reply With Quote






Reply

«  Previous Thread  |  Next Thread  »

Viewing: DevArticles Community Forums > Programming > General Programming Help > Why, oh why or die("could not connect")
Thread Tools  Search this Thread 

Email this Page Email this Page

Search this Thread:

Advanced Search
Display Modes  Rate This Thread 

Linear Mode Linear Mode

Hybrid Mode Switch to Hybrid Mode

Threaded Mode Switch to Threaded Mode

Rate This Thread:

Similar Threads
Thread Thread Starter Forum Replies Last Post
pohp doubts Alicia General Programming Help 3 November 3rd, 2003 06:31 AM
Aloha Simulation hotel_project General Programming Help 0 July 9th, 2003 09:58 AM
Doh! steve55 General Programming Help 11 January 15th, 2003 04:47 PM

Posting Rules

You may not post new threads

You may not post replies

You may not post attachments

You may not edit your posts


vB codeisOn

Smilies are On

[IMG] code is Off

HTML code is Off

Forum Jump
 
 Forums: » Register « | User CP  |  Calendar  |  Members  |  FAQs  |  Archives | 
    
 



© 2001-2004. All rights reserved. (Privacy Policy) Dev Articles hosted by HostwayContact Us
vBulletin; copyright © 2000 - 2004 Jelsoft Enterprises Ltd.