<?php
Result::addSqlQuery('RESULT_SAVE',
"INSERT INTO RESULT(USER_ID, RESULT_AWNSER, GAME_ID) VALUES (:user_id , :awn, :id)");
Result::addSqlQuery('RESULT_GET',
"SELECT * FROM RESULT WHERE RESULT.GAME_ID = :id");
Result::addSqlQuery('RESULT_DELETE',
"DELETE FROM RESULT WHERE RESULT.USER_ID = :id");
Result::addSqlQuery('GET_BY_USERID',
"SELECT * FROM RESULT WHERE RESULT.USER_ID = :id");
-
Robin Borgogno authored9c8e90ac