In MySQL, you can run something like this: -

while ($row1=mysql_fetch_array($result_set)){
 $name=$row1[Column1];
 $desc=$row1[Column3];
 echo"<tr><td>$name</td><td>$desc</td></tr>";

Does anyone know a way of doing the same with oracle - by which I mean
refering to the columns in the array by name rather than by index (ie
not

while (ora_fetch_into($curs, &$row1)){
 $name=$row1[0];
 $desc=$row1[2];
 echo"<tr><td>$name</td><td>$desc</td></tr>";
)

Thanks

Tom

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to