samedi 2 juin 2018

htmlspecialchars() expects parameter 1 to be string array given

I have an input field in which I am passing an array from my controller as hidden input but its giving me this error of array given.

Code of my view is

    <input type="hidden" name="DiseaseDiagnosed[]" value="">

Code of controller passing the value to view is

 return view('/doctorPanel/diagnoseDisease',['chart'=>$chart, 'patient'=>$patient, 'symptomsStated'=>$symptomsStated, 'DiseaseDiagnosed'=>$DiseaseDiagnosed]);

Kindly tell me why I am getting this error



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire