Support the ongoing development of Laravel.io →

Xum

Joined 12 Apr 2015

Statistics

Threads 0
Replies 188
Solutions 31
Articles 0

xum has not posted any threads yet

replied 8 years ago

substring inside query

@yongpin92, you can use DB::raw method for this: User::where(DB::raw("substr('name', 1, strpos(...

0 Likes
replied 8 years ago

Remember image upload after validation

You could use required_without validation rule to require hidden field if image file is not uploaded...

0 Likes
replied 8 years ago

Form data not flashing back to view on validation failed

@Nikhilkumar13, Watch this episode of Laracasts on Forms.

0 Likes
replied 8 years ago

Form data not flashing back to view on validation failed

Laravel doesn't fill out form fields automatically. You'll need to either use a package for building...

0 Likes
replied 8 years ago

What is the best way to handle expired login forms (expired tokens)

I don't know what was wrong with @laravelcode's code, but he got the right idea--add the check for T...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.