How can I get AngularJS controller variable in PHP clause?
I tried <?php $user = User::find()?>
but it doesn't work.
message.blade.php
<div ng-repeat="message in currentChat.messages">
<?php $user = User::find()?>
<div>
<span>User @</span>
</div>
</div>
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2lR2y6A
via IFTTT
Aucun commentaire:
Enregistrer un commentaire