"How do you know me?" Nathanael asked. Jesus answered, "I saw you while you were still under the fig tree before Philip called you."
NIV
Nathanael said to Jesus, How do You know me? [How is it that You know these things about me?] Jesus answered him, Before [ever] Philip called you, when you were still under the fig tree, I saw you.
AMP
Nathanael saith unto him, Whence knowest thou me? Jesus answered and said unto him, Before that Philip called thee, when thou wast under the fig tree, I saw thee.
KJV