My situation is that I need to return json response to server. At the same time, I need to redirect to some specific route to clients.
I have already tried with ob_start() and it does not work as I expected.
Normally, one function only works one return. But in this case, I need to return to two different places. Please someone guide me how can i solve that problem...
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire