Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: If hashed password in entity, it is not get validate length of model validation
Post: RE: If hashed password in entity, it is not get va...

iRedds Wrote: (04-18-2021, 12:46 PM) -- Don't use model validation. =) -- If the model validations not used, the email validation (is_unique) would not work! :idea: PHP Code: -- 'email' => 'requir...
500 Views
3 Replies
04-18-2021, 12:51 PM
ipmeel
    Thread: Entity JSON encode and manually decode
Post: RE: Entity JSON encode and manually decode

includebeer Wrote: (04-18-2021, 09:15 AM) -- That's not in json format, that's encoded with serialize() (https://www.php.net/manual/en/function.serialize.php). You need to use unserialize() (https://...
497 Views
4 Replies
04-18-2021, 09:25 AM
ipmeel
  Exclamation Thread: If hashed password in entity, it is not get validate length of model validation
Post: If hashed password in entity, it is not get valida...

User model PHP Code: --
500 Views
3 Replies
04-18-2021, 09:17 AM
ipmeel
    Thread: Entity JSON encode and manually decode
Post: Entity JSON encode and manually decode

In entity Code: -- protected $casts = [ 'courses'        => 'array', 'courses_object' => 'json', 'courses_array'  => 'json-array', ]; -- The posted array Code: -- courses = array{"bsc-bio",...
497 Views
4 Replies
04-18-2021, 07:40 AM
ipmeel
  Exclamation Thread: Model is not producing MySQL error #1292
Post: Model is not producing MySQL error #1292

Code: -- $this->set('verification_code', NULL)     ->set('email_verified_at', "Any-string")     ->where([         'email'=> $email,         'email_verified_at' => NULL,         'verification_cod...
347 Views
1 Replies
04-17-2021, 11:18 AM
ipmeel

Theme © iAndrew 2016 - Forum software by © MyBB