Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Check for any value in a field.

Quote Reply
Check for any value in a field.
Heya all,

I'm hacking a global and I'm trying check a field to see if there's ANY value in there. How do I do that?

Example: I want to check if the person has uploaded and image. Obviously the image names and formats may differ.

Code:
$sth = $search_db->select ( { isValidated => 'Yes', Image => '???' });

Thanks in advance.

Safe swoops
Sangiro
Subject Author Views Date
Thread Check for any value in a field. sangiro 2485 Jul 11, 2005, 12:56 AM
Thread Re: [sangiro] Check for any value in a field.
Andy 2434 Jul 11, 2005, 6:32 AM
Thread Re: [Andy] Check for any value in a field.
sangiro 2433 Jul 11, 2005, 8:52 AM
Post Re: [sangiro] Check for any value in a field.
Andy 2424 Jul 11, 2005, 9:53 AM
Post Re: [sangiro] Check for any value in a field.
afinlr 2392 Jul 18, 2005, 5:31 PM