Ask a Question related to PHP Development, Design and Development.
-
Jean-Claude MONOT #1
odbc_connect(): SQL error: , SQL state 00000 in SQLConnect in...
Hi,
i have a MS Access database X, i'm using EasyPHP, ODBC is running, and my
php file contains :
$user = "root";
$pass = "";
$base = "X";
$idf = odbc_connect($base, $user, $pass);
and the result is :
Warning: odbc_connect(): SQL error: , SQL state 00000 in SQLConnect in
c:\documents and settings\...\test.php on line 16
Why ? How to correct the problem ?
Help me please.
Thanks.
Jean-Claude
Jean-Claude MONOT Guest
-
Error Checkbox State inside Datagrid
Hello, I have one checkbox inside a datagrid and I want to read the state of the checkbox after submit. The checkbox is autopostback = false... -
#22971 [Com]: Error in odbc_prepare or in odbc_connect?
ID: 22971 Comment by: maxi at paoloastori dot com Reported By: anton at esrr dot ru Status: No Feedback Bug... -
Session State error -- trying to load public variables
Never mind, I think I've realized that some of the Session vars wouldn't not be set at this page's load time. So I just declared them as name/type... -
View State is invalid Error on webfarm!
Are the pages 100% idential on both servers? "David Grubbs" <dgrubbs@yahoo-inc.com> wrote in message... -
State Server error 1074
I cannot find any documentation on this state server error. Any suggestions? ---------------------------------------- Event Type: Error Event... -
Ted Thibodeau Jr #2
Re: odbc_connect(): SQL error: , SQL state 00000 in SQLConnect in...
[[ This message was both posted and mailed: see
the "To," "Cc," and "Newsgroups" headers for details. ]]
In article <41584fae$0$726$8fcfb975@news.wanadoo.fr>, Jean-Claude MONOT
<jean-claude.monot@wanadoo.fr> wrote:
You need an ODBC DSN "X", not an MS Access DB "X".> Hi,
>
> i have a MS Access database X, i'm using EasyPHP, ODBC is running, and my
> php file contains :
> $user = "root";
> $pass = "";
> $base = "X";
> $idf = odbc_connect($base, $user, $pass);
>
> and the result is :
>
> Warning: odbc_connect(): SQL error: , SQL state 00000 in SQLConnect in
> c:\documents and settings\...\test.php on line 16
>
> Why ? How to correct the problem ?
> Help me please.
>
> Thanks.
>
> Jean-Claude
You only need $user and $pass values if the MS Access DB has access
restrictions set up.
Good luck,
Ted
--
A: Yes. [url]http://learn.to/attribute[/url]
| Q: Are you sure?
| | A: Because it reverses the logical flow of conversation.
| | | Q: Why is top posting frowned upon?
Ted Thibodeau, Jr. // voice +1-781-273-0900 x32
Evangelism & Support // mailto:tthibodeau@openlinksw.com
OpenLink Software, Inc. // [url]http://www.openlinksw.com/[/url]
[url]http://www.openlinksw.com/weblogs/uda/[/url]
OpenLink Blogs [url]http://www.openlinksw.com/weblogs/virtuoso/[/url]
[url]http://www.openlinksw.com/blog/~kidehen/[/url]
Universal Data Access and Virtual Database Technology Providers
Ted Thibodeau Jr Guest



Reply With Quote

