468,315 Members | 1,488 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,315 developers. It's quick & easy.

Oracle/PHP - Pulling Data

How do I pull data into an array for use on my web pages? What's the best
way w/ Oracle 9i? Must I bind varibables?? I'm lost...

Example:

$stmt = OCIParse($conn, "select * from inventory");

OCIExecute($stmt);

OCIFetchInto ($stmt, $row, OCI_ASSOC);

while (list($key, $val) = each($row)) {

print $key . " = " . $val . "<br>";

}
Jul 17 '05 #1
0 1321

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Philip D Heady | last post: by
2 posts views Thread by Matt | last post: by
1 post views Thread by Andrew Arace | last post: by
1 post views Thread by jander22 | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.