Quote:
Originally Posted by delicjous
You should not use "vB::getDbAssertor()->update" because this is a direct database action. There are api-functions for that.
|
Thank you for your reply.
I managed to figure out how to search the database to prevent duplicate username entry by using
vB::getDbAssertor()->getRow.
What is the API that I could use instead of
vB::getDbAssertor()->update which will be more secure? Can you please advise?
Is it ok to use
vB::getDbAssertor()->getRow in an if statement to search for the data?
Thank you again.