Welcome Guest, Not a member yet? Register   Sign In
Is_Unique validation with custom db table
#9

[eluser]wehappyfew[/eluser]
It seems off topic because I was asking a way to "extend" somehow the is_unique validation so as someone to be able to add a variable inside its arguments to specify a custom table,which would be generated automatically when the new user would be created.

You on the other hand should look more closely the examples of the user guide. The $db variable in the first case is causing the problem.Check if you use it somewhere without having pass it first.
Your syntax seems alright.
The use of the is_unique validation is really straightforward.


Messages In This Thread
Is_Unique validation with custom db table - by El Forum - 04-04-2012, 07:03 AM
Is_Unique validation with custom db table - by El Forum - 04-04-2012, 11:51 AM
Is_Unique validation with custom db table - by El Forum - 04-04-2012, 01:06 PM
Is_Unique validation with custom db table - by El Forum - 04-04-2012, 01:38 PM
Is_Unique validation with custom db table - by El Forum - 04-06-2012, 06:07 AM
Is_Unique validation with custom db table - by El Forum - 04-06-2012, 07:30 AM
Is_Unique validation with custom db table - by El Forum - 04-06-2012, 09:19 AM
Is_Unique validation with custom db table - by El Forum - 04-06-2012, 09:23 AM
Is_Unique validation with custom db table - by El Forum - 04-07-2012, 05:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB