Esempio n. 1
0
echo $obj->name;
?>
" />
                        </td>
                    </tr>
                    <tr class="">
                        <td valign="top"> ADDRESS :</td><td><textarea  name="address" id="address"><?php 
echo $obj->address;
?>
</textarea></td>
                    </tr>
                    <tr>
                        <td></td><td>
                            <input type="submit" id="submit_user" value="Submit" />
                        </td>
                    </tr>
                </form>
            </table>
        </div>
        <?php 
if ($_POST) {
    $id = $_POST['id'];
    $name = addslashes($_POST['name']);
    $address = addslashes($_POST['address']);
    session_start();
    $obj->update_adversary($id, $name, $address);
}
?>
    </body>
</html>