A
A
avtor_house2019-03-18 13:52:05
PHP
avtor_house, 2019-03-18 13:52:05

How to translate data output from DB using Angular to output using PHP?

I need to redo the output method, but I can’t understand how data is output from Angular, and how to convert this code using php. That is, you need to replace, for example, {{order.price}} with <?= $order['price']; ?>

<div class="list_body">
    <a class="product_list" href="/games/{{order.id_digi}}{{order.href}}"><span ng-bind-html="order.name | to_trusted"></span><div class="price">{{order.price}} ₽</div></a>
  </div>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question