right now the php looks like this (and still doesn't work).
PHP Code:
$save = (isset($_POST['save'])) ? true : false;
if ($save)
{
$image = file_get_contents($_POST['image_data'])
$title = ($_POST['&title']);
echo $title;
echo $image;
$insert_array = array(
'title' => $title, // need this to avoid discrepancies lol
'username' => $user->data['username'],
'image' => $image,
);
$sql = "INSERT INTO " . EASTER_CONTEST_TABLE . " " . $db->sql_build_array('INSERT', $insert_array);
$db->sql_query($sql);
}