Forums
Home / Plugin: Participants Database / Does Record Exist
(@supernova42)
6 years ago
Hi Roland
How can I check if a record exists in the PDB using php
Thanks
at the moment I use
if (empty($name)) {do this}
but I wondered if their was another command
(@xnau)
That will work…the plugin function i would use is:
Participants_Db::get_participant( $record_id );
it will return “false” if the record is not found.