Executing SQL query with ODBC

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

 



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


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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux