• supernova42

    (@supernova42)


    Hi Roland

    How can I check if a record exists in the PDB using php

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter supernova42

    (@supernova42)

    at the moment I use

    if (empty($name)) {do this}

    but I wondered if their was another command

    Thanks

    Plugin Author xnau webdesign

    (@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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Does Record Exist’ is closed to new replies.