ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:adodb_getone_eof

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
reference:adodb_getone_eof [2015/10/09 23:28] mnewnhamreference:adodb_getone_eof [2015/12/04 16:25] – [Syntax] mnewnham
Line 22: Line 22:
 /* /*
 * *
 +*/
 $ADODB_GETONE_EOF = null; $ADODB_GETONE_EOF = null;
 $test = $db->getOne('select character_field from table where integer_field=1');   $test = $db->getOne('select character_field from table where integer_field=1');  
Line 29: Line 30:
     /*     /*
     * We did not find any records that matched the value of integer_1=1     * We did not find any records that matched the value of integer_1=1
-    * /+    */
 } }
 if ($test == false) if ($test == false)
Line 36: Line 37:
     * We did not find any records OR the first record found that matched integer_1=1     * We did not find any records OR the first record found that matched integer_1=1
     * had a character_1 value of null     * had a character_1 value of null
-    * /+    */
 } }
 </code> </code>
v5/reference/adodb_getone_eof.txt · Last modified: 2023/06/19 15:27 by dregad