hi quick question, when i write to the database i get it to write the answer and question but the question is the question id how would i write the actually question?
$answer=$_POST['answer'];
$question=$_POST['gallery_type'];
$query=( "INSERT INTO user (uname, pw,email,date_joined,ip,level,isbanned, question, answer) VALUES ('$name',md5('$pw1'),'$email',NOW(),'$ip','$level','no', '$question', '$answer' )");
for example question two is what is your pets name and in the database it writes '2'