Skip to content

Instantly share code, notes, and snippets.

View marijnvdwerf's full-sized avatar

Marijn van der Werf marijnvdwerf

View GitHub Profile
<?php
class Response {
public $success = true;
public $action = null;
public $data = null;
public $error = null;
function __toString() {
return json_encode($this);
<?php
// start sessie
session_start();
include 'config.php';
$tekst1
$tekst2 = 'Je moet eerst registreren. Je wordt doorgestuurd.';