Show sourcecode

The following files exists in this folder. Click to view.

webbutv3/word-app/api/

disable-translation.php
get-problem.php
scentence/
scentence.php
submit-problem-result.php

get-problem.php

9 lines ASCII Windows (CRLF)
1
2
3
4
5
6
7
8
9
<?php
session_start
();
include 
"../util/db_connect.php";
include 
"../util/practice.php";
include 
"../util/user.php";

$requestData get_practice_problem();
header('Content-Type: application/json; charset=utf-8');
echo 
json_encode($requestData);