[RSS Feed/News] how to check if record exists before saving with basicEntitySave

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hi,

I'm using $form->basicEntitySave to save inputs from a form into my database which all works well, the only problem is that it allows duplicates which I don't want, so I'm probably missing something obvious but how do you check if the record exists before saving? Is there a build in function for that?

Thanks

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom