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


  •  
     
     
    pg_field_is_null

    pg_field_is_null

    (PHP 4 >= 4_2_0)

    pg_field_is_null __ Test if a field is NULL

    Description

    int pg_field_is_null ( resource result, int row, mixed field)

    pg_field_is_null() tests if a field is NULL or not_ It returns 1 if the field in the given row is NULL_ It returns 0 if the field in the given row is NOT NULL_ Field can be specified as column index (number) or fieldname (string)_ Row numbering starts at 0_

    Ejemplo 1_ pg_field_is_null() example

    <?php
        $dbconn = pg_connect("dbname=publisher") or die ("Could not connect");
        $res = pg_query($dbconn, "select * from authors where author = 'Orwell'");
        if ($res) {
            if (pg_field_is_null($res, 0, "year") == 1) {
                echo "The value of the field year is null_\n";
            }
            if (pg_field_is_null($res, 0, "year") == 0) {
                echo "The value of the field year is not null_\n";
          }
       }
    ?>

    Nota: This function used to be called pg_fieldisnull()_

     
       



    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