core/api/admin/assets/demo/server/add-event.php

8 lines
213 B
PHP
Raw Normal View History

2022-12-11 13:55:49 +05:00
<?php
// this is our event
// We need to save it in the database and return it id
$event = $_POST['event'];
// but this is a test project so we return a random number as an id
print rand();
?>