Hosting de Calidad
  • Inicio
  • Precios y servicios
  • F.a.q y ayudas
  • Realizar pedido
  • Webs alojadas
  • Quienes somos
  • Foro HyD
  • Contacto

    Zona Dominios

    Entrar
    registro de dominios


    Zona Hosting

    Entrar
    alojamiento web


    5 Métodos de Pago
    Tarjeta de crédito
    Domiciliación
    Transferencia
    Soporte Epagado
    Soporte Paypal

    Liberalización .es

    Ver mas
    dominios .es


  •  
     
     
    OCIRowCount

    OCIRowCount

    (PHP 3>= 3_0_7, PHP 4 )

    OCIRowCount __ Obtiene el número de filas afectadas

    Descripción

    int OCIRowCount ( int statement)

    OCIRowCount() devuelve el número de filas afectadas, por ej_ en sentencias de actualización_ !Esta función no indicará el número de de filas que devuelve una sentencia SELECT!

    Ejemplo 1_ OCIRowCount

    <?php
        print "<HTML><PRE>";
        $conn = OCILogon("scott","tiger");
        $stmt = OCIParse($conn,"create table emp2 as select * from emp");
        OCIExecute($stmt);
        print OCIRowCount($stmt) _ " rows inserted_<BR>";
        OCIFreeStatement($stmt);
        $stmt = OCIParse($conn,"delete from emp2");
        OCIExecute($stmt);
        print OCIRowCount($stmt) _ " rows deleted_<BR>";
        OCICommit($conn);
        OCIFreeStatement($stmt);
        $stmt = OCIParse($conn,"drop table emp2");
        OCIExecute($stmt);
        OCIFreeStatement($stmt);
        OCILogOff($conn);
        print "</PRE></HTML>";
    ?>

     
       



    registro de dominios | alojamiento web | hosting por publicidad

       

     

    Manual de linux Manual de apache Manual de php Manual de mysql Manual de SQL Manual del Plesk Como funciona Paypal Manual de html