Ge'Radt
นาย จิรัฎฐ์ (ทินวัฒน์) พงษ์ทองเมือง

Oracle with Php connection


Oracle with Php connection

<?php
$connection = oci_connect("root", "kosm");
if(!$connection) echo "error connect";

$query = "SELECT * FROM group_member";

$statement = oci_parse ($connection, $query);
oci_execute ($statement);

while ($row = oci_fetch_array ($statement, OCI_BOTH))
{
    echo $row['GROUPID']."<br>";
    echo $row['GROUPNAME']."<br>";
    echo $row['GROUPTYPE']."<br>";
}
echo "WOWWW2";
//print_r($row);

?>

คำสำคัญ (Tags): #oracle with php connection
หมายเลขบันทึก: 120606เขียนเมื่อ 19 สิงหาคม 2007 12:16 น. ()แก้ไขเมื่อ 11 กุมภาพันธ์ 2012 19:58 น. ()สัญญาอนุญาต: จำนวนที่อ่านจำนวนที่อ่าน:


ความเห็น (0)

ไม่มีความเห็น

พบปัญหาการใช้งานกรุณาแจ้ง LINE ID @gotoknow
ClassStart
ระบบจัดการการเรียนการสอนผ่านอินเทอร์เน็ต
ทั้งเว็บทั้งแอปใช้งานฟรี
ClassStart Books
โครงการหนังสือจากคลาสสตาร์ท