from_id FROM members WHERE email='$email'");
mysqli_query($db, "SELECT from_id FROM members WHERE email=(SELECT email FROM id WHERE id='$id')");
Is these two codes same?
https://www.tutorialspoint.com/mysql/mysql-using-joins.htm
Don't use mysqli_*
~
Обсуждают сегодня