maybe I am not understanding the difficulty.
select a.,b. from table a, table b where a.submitid=$submitid and a.email=$email and a.email=b.email
that may not be quite right, but I think its close. Basically you are joining a table against itself to get the values