Re: [PHP4BETA] Stupid newbie question

From: Date: Sun, 14 Nov 1999 07:33:10 +0000
Subject: Re: [PHP4BETA] Stupid newbie question
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-6206@lists.php.net to get a copy of this message
I'm pretty sure the b2 binaries were _NOT_ built with odbc support. --Joey Smith On Sun, 14 Nov 1999, Andy Marks wrote: > Hi All, > > Now 90 minutes into my PHP career and I'm stumbling over what should be > a really simple issue. From what I've read in the documentation, odbc > support functions are part of the core PHP distribution, so I should be > able to call them without needing to load any extra modules, right? > Well, I can get "Hello World" type scripts to run fine, but I've just > started working on my first DB-enabled script and cannot get a clean > compile on the line containing my odbc_connect line. The entire file > consists of: > > <html> > <body> > <?php > $connID = odbc_connect("foobar", "", ""); > ?> > </body> > </html> > > And the error returned is: > > Fatal error: Call to undefined function: odbc_connect() in > d:\InetPub\scripts\HelloWorld.php on line 4 > > Obviously this means it cannot locate the odbc_connect function, but I > cannot see a spelling error and I didn't think I needed to add anything > extra. > > I'm using PHP4.0 beta 2 running under Microsoft PWS using Communicator > 4.6 as the client. > > What stupid thing am I missing here? > > > -- > Andy Marks > webmaster@rcreative.nu > > Guardian of Buffy's Class Protector Parasol > Keeper of the Watcher's scones > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net > >

« previous php.version4 (#6206) next »