Support the ongoing development of Laravel.io →
Database Validation Laravel.io
Last updated 1 year ago.
0

I think because you're trying to look up the database to see if a question has been posted for $book_id = 12 that you might want to take a look at the Exist(Database) validation method.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

JeffSh jeffsh Joined 4 Jan 2017

Moderators

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.