AppML PHP (ok)

https://www.w3schools.com/appml/appml_php.asp

C:\xampp\htdocs\abc\customers.htm

<!DOCTYPE html>
<html lang="en">
<title>Customers</title>
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<script src="https://www.w3schools.com/appml/2.0.3/appml.js"></script>
<body>
  <div class="w3-container" appml-data="appml.php?model=model_customers">
    <h1>Customers</h1>
    <table class="w3-table-all">
      <tr>
        <th>Customer</th>
        <th>City</th>
        <th>Country</th>
      </tr>
      <tr appml-repeat="records">
        <td>{{CompanyName}}</td>
        <td>{{City}}</td>
        <td>{{Country}}</td>
      </tr>
    </table>
  </div>
</body>
</html>

C:\xampp\htdocs\abc\create_customers.htm

C:\xampp\htdocs\abc\create_customers.js

C:\xampp\htdocs\abc\appml_config.php

C:\xampp\htdocs\abc\model_customers.js

10KB
Open

Last updated

Was this helpful?