Executing SQL query with ODBC

From: Date: Tue, 09 Nov 2004 08:09:59 +0000
Subject: Executing SQL query with ODBC
Groups: php.db 
Request: Send a blank email to php-db+get-37203@lists.php.net to get a copy of this message
Here is my code: $conn = odbc_connect("Ta Fara","",""); $query = "SELECT * FROM Config"; $result = odbc_exec($conn, $query); echo odbc_num_rows($result); This code never give me a 0 result even there is some data. How can I solve it? Thank you. -- Petrus Ali Saputra ========================================================== Addr. : Karang Empat Besar 76 Surabaya 60133 East Java, Indonesia Phone : 62-31-381-7866 62-31-6010-2653 62-81-23000-254 ---------------------------------------------------------- A professional web hosting for your business and corporate URL : http://attractive.as/hostmania ---------------------------------------------------------- Mau kredit mobil baru/bekas dengan bunga rendah? URL : http://fantastic.as/kreditmobil

« previous php.db (#37203) next »