Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Check if user exists Reply To: Check if user exists

#169209
chrisburton
Participant

@traq If MySQL is smart enough to do that, then I would rather go with db::update rather than compare data. Less markup to deal with.

I’m having trouble with this one as it isn’t making sense to me since I need to update more than one.

Edit:

Try id with an id that you know does not exist and see if it returns false[…]

It echoes out false if I try and ID of 95 (random number).