Error in Model Appml

Asked

Viewed 12 times

1

I’m trying to learn Appml, for prototyping and maybe use in production.

But I face the following error: Error in Model: model_tasks

I have a template.js file on for date with the following content:

{
    "rowsperpage" : 10,
    "database" : {
        "connection" : "dbtarefas",
        "sql" : "SELECT id, descricao, finalizado, data_finalizado FROM tarefas",
        "orderby" : "id"
    }
}

The same is in accordance with the small existing documentation.

Inside the main section I have the code:

<section class="w3-container" appml-data="data/appml.php?model=model_tarefas">

When I use a local variable as a data source, it’s all right, but when I call for the database, it’s a problem.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.