[PHP-WIN] Connecting to a database

2004-08-09 Thread PHP MySQL
hi list, I am given a task to connect to a database and display the info there onto the Web. So that whatever changes are made in the database...my web page will also show the newly changed data. I am planning to try doing this using PHP but as i am new to php...i don't know how to go about

[PHP-WIN] Connecting to a database w/PHP and mysql

2002-04-02 Thread Anthony Ritter
Using the script below, I was able to connect to the database named "contacts" for output. *However*, when I insert a [username] and [password] in place of the "" "", I get: "Couldn't connect to the database" - eventhough I am able to connect to mysql. How do I go about replacing the "" and "

RE: [PHP-WIN] connecting to a database using ODBC

2002-03-26 Thread Svensson, B.A.T. (HKG)
6, 2002 3:10 PM >To: [EMAIL PROTECTED] >Subject: [PHP-WIN] connecting to a database using ODBC > > >Can anyone offer some help > >I need to connect to an acces database, Using php on Windows with Apache. >If anyone has some sample code I would greatly appreciate it I am

Re: [PHP-WIN] connecting to a database using ODBC

2002-03-26 Thread Piotr Pluciennik
Hi, **first step: create DSN in Windows (Control Panel, ODBC) and bind it with your Access database **then in php code: $dbhandle = odbc_connect('YourDSN', '',''); if($dbhandle == 0) { die('Error connecting DB'); // or error handler } *here do your

[PHP-WIN] connecting to a database using ODBC

2002-03-26 Thread Someone Somewhere
Can anyone offer some help I need to connect to an acces database, Using php on Windows with Apache. If anyone has some sample code I would greatly appreciate it I am lost about the wholeODBC thing. Cirkit _ Chat with friends on

Re: [PHP-WIN] Connecting to a database

2001-11-02 Thread anch.org
I'm your "Tech Psychic". You're obviously running one of those M$ productz and trying to install your own phpBB forum, aren't you? What you want to do is enter localhost as the host name (since you're a newbie you wouldn't be doing distributed access) and you'll have to use WinMySQLadmin to crea

RE: [PHP-WIN] Connecting to a database

2001-11-02 Thread Svensson, B.A.T.
What about the good old RTFM apporach, to start with? ;) -Original Message- From: Ross Fleming To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 2001-11-02 01:11 Subject: RE: [PHP-WIN] Connecting to a database What database are you using? There are several you can use. mssql, mysql

RE: [PHP-WIN] Connecting to a database

2001-11-01 Thread Ross Fleming
From: Raoul Snyman [mailto:[EMAIL PROTECTED]] Sent: 01 November 2001 23:04 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Connecting to a database Hi, I'm a newbie and I'd like to know how to connect to a database. what goes in the hostname, username, etc. parameters, and how to use that connec

[PHP-WIN] Connecting to a database

2001-11-01 Thread Raoul Snyman
Hi, I'm a newbie and I'd like to know how to connect to a database. what goes in the hostname, username, etc. parameters, and how to use that connected db. Thanks Raoul Snyman