You are here: Re: Using PHP to pull from MS Access DB « All PHP « IT news, forums, messages
Re: Using PHP to pull from MS Access DB

Posted by steve on 11/22/05 17:26

as you've probably noticed, "whoops!" doesn't get you too far. i think if
you output the actual error, you'd probably be able to figure it out by
yourself. as for those here, "whoops!" means jack-squat.

(dfw = dallas/fort worth? just curious)


"chadlupkes" <chadlupkes@gmail.com> wrote in message
news:1132671012.801427.224270@g43g2000cwa.googlegroups.com...
| I've been trying to create a simple (I hope) PHP application to send
| emails to a membership list. I have yet to successfully connect to my
| database to pull the names and email addresses. I'm running XP Pro,
| PHP Version 4.3.2, Access 2000. I have created an ODBC System DNS
| connection to the database file I want to access, And I get this error:
|
| Warning: SQL error: , SQL state 00000 in SQLConnect in connecttodb.php
| on line 2
| Whoops! Could Not Connect to ODBC Database!
|
| Here is my code:
|
| <?php
| $odbc = odbc_connect ('DFWMembershipDB', '', '') or die('Whoops! Could
| Not Connect to ODBC Database!');
| ?>
|
| I'm a total novice at this, so any help you can provide would be really
| appreciated.
|
| Chad Lupkes
| Seattle, Washington
|

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация