CONEXION
| From: | cesar nuñez | Date: | Wed, 18 Jun 2003 20:22:02 +0000 |
| Subject: | CONEXION | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-37526@lists.php.net to get a copy of this message | ||
SALUDOS !!!!!
POR FAVOR TENGO UN PROBLEMA CON LA CONEXION DE PHP 4.1.1 Y ORACLE 7.3 ......EXISTE ALGUN PROBLEMA DE INCOMPATIBILIDAD??? , PORQUE LA CONEXION LA PUDE HACER PERO CON EL PHP 3.0.18............. CUALES SON LOS PASOS A SEGUIR ????
* OTRA CONSULTA : - ME PUEDEN DECIR COMO DEBE SER EL CODIGO PARA MOSTRAR DATA DESDE UNA BASE DE DATOS ORACLE ????
AL CARGAR EL SGTE. CODIGO ME APARECE EL SGTE ERROR :
<?php
putenv("ORACLE_SID=ORCL");
putenv("ORACLE_HOME=C:\ORANT");
putenv("TNS_ADMIN=C:\ORANT\NETWORK\ADMIN");
$conectar=ora_logon("scott@prueba.world","tiger");
$result=ora_open($conectar);
$a=ora_parse($result,"select nombre from R5R_ROL");
while($b=ora_fetch_into($a)){
$tot=$b["nombre"];
echo $tot;}
ora_logoff($conectar);
?>
ERROR :
Warning: Wrong parameter count for ora_fetch_into() in c:\apache\htdocs/oracleconsulta.php on line 8
muchas gracias
_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: http://messenger.yupimsn.com/