root/server/getWolves.php

Revision 1, 182 bytes (checked in by swizec, 3 years ago)

initial import of working example app

Line 
1<?php
2
3include( "wolf.php" );
4include( "wolves.php" );
5
6$id = ( isset( $_POST[ "id" ] ) ) ? intval( $_POST[ "id" ] ) : -1;
7
8unset( $wolves[ $id ] );
9
10echo json_encode( $wolves );
11
12?>
Note: See TracBrowser for help on using the browser.