I m using a quiz plugin which doesn't store the score in the database! I want to store the score for each quiz post for a login user... the variable use for the quiz result score is %%SCORE%% Also, is there any way to email the score to the login user.. can sombody help me in writing the code in correct way ,,,, mvery novice in php if (is_user_logged_in()) { add/insert the score %%SCORE%% in users database } else { $messagequiz = "u have to login to store ur score" }