I've been having the same error for the past couple of days,
I have posted on a couple of news goups with no response...
I even have a posting on this one...  I posted one on the paradox
news group and some very rude individual gave a sarcastic
response and led me back here (I think he was feeling like a
don coz he owns some software firm)...  Anywayz, I am quite
convinced that it is to do with the configuration when setting
up the connection to your database (I haven't come around
that yet), kind of the same way you connect to an access DB.
I don't think it has anything to do with your source...  I was told
that people link their php Scripts to paradox tables via. ODBC.
However, I'd appreciate it if you would throw any further suggestions
if you have any...



Kondwani
"Sonjaya" <[EMAIL PROTECTED]> wrote in message
000001c21c2d$fbf5ef20$c800a8c0@sicute">news:000001c21c2d$fbf5ef20$c800a8c0@sicute...
> <?php
> $conections=odbc_connect("data","tes","");
> $result=odbc_do($conections,"select nama from password");
> odbc_binmode($result,0);
> odbc_longreadlen($result);
> odbc_fetch_row($result);
> header("Conten-type:type: image/gif");
> odbc_result($result,1);
> ?>
> error message like this
> Warning: SQL error: [Microsoft][ODBC Paradox Driver] External table is
> not in the expected format., SQL state S1000 in SQLExecDirect in
> c:\apache\htdocs\database\odbc1.php on line 8
>
> Warning: Wrong parameter count for odbc_longreadlen() in
> c:\apache\htdocs\database\odbc1.php on line 10
>
> Warning: Supplied argument is not a valid ODBC result resource in
> c:\apache\htdocs\database\odbc1.php on line 11
>
> Warning: Cannot add header information - headers already sent by (output
> started at c:\apache\htdocs\database\odbc1.php:8) in
> c:\apache\htdocs\database\odbc1.php on line 12
>
> Warning: Supplied argument is not a valid ODBC result resource in
> c:\apache\htdocs\database\odbc1.php on line 13
>
> any one cna help me with sample  source
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to