I am trying to run a stored procedure, if it matches then it returns the information. If it doesn't match, then nothing is returned.
When nothing returns, I get this error: SQLSTATE[IMSSP]: The active result for the query contains no fields.
How can I catch this error and throw a 403 instead of this error? I tried adding SET NOCOUNT ON ;, it didn't help. or count($response), I keep getting this error.
What else can I put in place?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/295fjn7
via IFTTT
Aucun commentaire:
Enregistrer un commentaire