Skip to content
Advertisement

PHP how to Compare Form inputs with database values | Laravel

i need to compare Database Values with the inputs from Form this a a part of my code

JavaScript

i need to compare $request->all() with db value ! i try this ! the if is ignored and always Show me the Success alert

Advertisement

Answer

The simplest way to do this is to find the record in a query.

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement