In php, anything with a $ infront of it is considered a variable and if I try to echo an angular statement like if(...) {echo "return $scope.id;";}, I get an error saying $scope isn't a variable I've defined in php. Does someone know of an easy fix to this?
Aucun commentaire:
Enregistrer un commentaire