ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:ifnull

This is an old revision of the document!


ifNull

  string ifNull(
         string $fieldToCheck,
         mixed $replacementValue
         )

Description

The function ifNull() returns a database-specific string providing the means to replace a null value with a specified replacement. The two parameters are:

- The field in the table to check. - The value to replace the null value with if it is found

Usage

 
v5/reference/connection/ifnull.1437356212.txt.gz · Last modified: 2017/04/21 11:34 (external edit)