Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
<?php // ADD someone to DB ini_set('display_errors', 'on'); require_once 'classes/connection.php'; include 'classes/validate_id.php'; include 'classes/events.php'; $connection = db_connect(); $eventID = $_GET['id']; validate_id($eventID); $user_id = 3; $spots = 22; $event = new event($eventID); $event->add_members($connection, $eventID, $user_id, $spots); echo "gelukt!";