Jump to content

john_jack

Members
  • Posts

    77
  • Joined

  • Last visited

Everything posted by john_jack

  1. i see that you got it to work! Goodjob you can use : header('Location: http://www.example.com/'); exit; intead of echo "Thank you for contacting us! Please use your browser's back button to return to the previous page."; so the user gets redirected automaticly .
  2. thank you for your response , i am actualy folowing the tutorial mentioned above ,but heres the code : the html page : <!DOCTYPE html> <html lang="en"> <title>Customers</title> <link rel="stylesheet" href= "http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> <script src="http://www.w3schools.com/appml/2.0.3/appml.js"></script> <body> <div class="container" appml-data="appml.php?model=customers"> <h1>Customers</h1> <table class="table table-striped table-bordered"> <tr> <th>Customer</th> <th>City</th> <th>Country</th> </tr> <tr appml-repeat="records"> <td>{{CustomerName}}</td> <td>{{City}}</td> <td>{{Country}}</td> </tr> </table> </div> </body> </html> customer.js code : { "rowsperpage" : 10, "database" : { "connection" : "mydatabase", "sql" : "SELECT * FROM Customers", "orderby" : "CustomerName" } } appml_config.php <?php echo("Access Forbidden");exit();?> { "dateformat" : "yyyy-mm-dd", "databases" : [{ "connection" : "mydatabase", "host" : "localhost", "dbname" : "test", "username" : "root2", "password" : "toor" }] } also using the appml.php 2.0.3 the one available for download on the TUtorial
  3. hi , i folowed the tutorial on Appml : http://www.w3schools.com/appml/appml_php.asp but i am getting an error . my question is : does anyone know what is wrong with this ? if not is there a way to get more info about the error so ill try to fix it . Heres the Screen shot : Thank You
×
×
  • Create New...