odbc_execute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi; I'm e newbie in PHP. I have to reda data from an AS400 system; I use
an ODBC connection and I have to read data from a table with
This the SQL Statement "

$query_stm = "SELECT * " .
	"FROM cordo.plavt " .
	 "where atcdim = ? " .
	 "and atdtvf = 9999999";

This is the prepare statement :

$result = odbc_prepare ($dbconn, $query_stm);

This is the execute statement

$exc = odbc_execute ($result, array($Targa));

I test the execution of the odbc_execute and I have TRUE, so all works
fine;

But now how can retrieve the data from the result set? ; It seems thet
all the fetch function work with the odbc_exec statement; 

Can someone helps me ?

ManyThanks

Silvio Anzola
Progetti IT
Locatrent S.p.a.
ALD Automotive
Via Cavriana 14
20134 Milano
Tel. 02/73898340 Fax.02/738976822
http://www.locatrent.it <BLOCKED::http://www.locatrent.it/> 
silvio.anzola@xxxxxxxxxxxx




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux