Hi everyone

I where wondering how would i go about storing photos for my users, i would allow them to save an unlimted amount in there gallarys, would i have save the filepath of each photo into an array then save that array to my phpmyadmin database?, i'm alitte unsure on the best method to do this.