<?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