|
|
|
คำสั่ง mysql_num_rows($objQuery); ถ้าแปลงเป็น oracle คืออะไร.............. |
|
|
|
|
|
|
|
select count(field) ก็น่าจะใช้ได้แล้วน่ะครับ
|
|
|
|
|
Date :
2012-01-29 12:46:14 |
By :
mangkunzo |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code (PHP)
$objConnect = oci_connect("myuser","mypassword","TCDB");
$strSQL = "SELECT * FROM CUSTOMER ORDER BY CUSTOMERID ASC";
$objParse = oci_parse ($objConnect, $strSQL);
oci_execute ($objParse,OCI_DEFAULT);
$Num_Rows = oci_fetch_all($objParse, $Result);
|
|
|
|
|
Date :
2012-01-29 17:42:34 |
By :
webmaster |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
พี่วินค่ะ $result คืออะไรค่ะ
|
ประวัติการแก้ไข 2012-01-30 19:55:16
|
|
|
|
Date :
2012-01-30 19:38:44 |
By :
banana_bnn |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 01
|