Support the ongoing development of Laravel.io →
Database Validation Laravel.io
Last updated 2 weeks 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!

Full Stack Europe

Your banner here too?

JeffSh JeffSh jeffsh Joined 4 Jan 2017

Moderators

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.