Location: PHPKode > projects > LudoDB > ludoDB-master/examples/mod_rewrite/index.php
    <title>ludoDB Request handler sample</title>
    <h2>Example 1: get request:</h2>
    <p>Click here to show data for <a href="Book/2">Book/2</a></p>
    <h2>Example 2: delete request:</h2>
    <p>Click here to delete <a href="Book/2">Book/2/delete</a></p>
    <h2>Example 3: save request:</h2>
    <form action="./Book/save" method="post">
                <td><label for="isbn">Isbn</label>:</td>
                <td><input type="text" name="isbn" id="isbn" value="978123400234"></td>
                <td><label for="title">Title</label>:</td>
                <td><input type="text" name="title" id="title" value="My book"></td>
                <td><label for="author1">Authors:(semicolon separated)</label>:</td>
                <td><textarea type="text" name="author" id="author1">Jane Johnson;John Johnson</textarea></td>
                <td><input type="submit" value="Save book"></td>
    <p>After save, open Book/&lt;id&gt; where id is the id you'll see in the JSON response,
    example:  <a href="Book/4">Book/4</p>
Return current item: LudoDB