I have some Ajax making a post request to a function in my controller (postIndex) I would like to echo this variable ($a) to the view.
public function postIndex( \Illuminate\Http\Request $request ){
/*
* CODE
*/
$a = "string";
echo $a;
return SOMETHING;
}
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2t3mzbn
via IFTTT
Aucun commentaire:
Enregistrer un commentaire