Skip to content

Instantly share code, notes, and snippets.

@gabrielboley
gabrielboley / ajax.php
Created July 7, 2014 22:01
course search
<?php
require('config.php');
if (isset($_POST['function']))
{
$function = $_POST['function'];
}
else if (isset($_GET['function']))
{
$function = $_GET['function'];