in php we can do
isset($_POST['name'])
so that user submit empty text can be detected.
but in laravel
$request->has('name')
return null on empty string too.
I need to find a way to tell if it is an empty string or the field not posted at all
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2np0pPl
via IFTTT
Aucun commentaire:
Enregistrer un commentaire