Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function checkIfQuestionnaireExist($questionnaireId)
- {
- $sqlGetQuestionnaire = "
- SELECT
- *
- FROM
- `syskonf`.`modul_kwestionariusz`
- WHERE
- kwestionariusz_id = '" . Validate::form2db($questionnaireId) . "'
- AND
- konferencja_textid = '" . Validate::form2db($this->conferenceTextId) . "'";
- $this->db->Execute($sqlGetQuestionnaire);
- if ($this->db->affected_rows() > 0) {
- return true;
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement