This is my first post to be gentle. I'm currently researching for my dissertation project where i'm planning to make a forum that allows users to discuss crusing events. The site will allow user login and will have admin features.
My issue occurs on the members side of things. I wish to have member images/avatars displayed in both my forum posts and on a user profile page. Whilst the code for these would pretty much be similar I am wondering if I am going about my current code attempts the right way. While I am not a PHP expert I am quite adept in it but have not had to use it for over a year and so have forgotten a lot.
I already have my login scripts and have a basic forum. What I am looking to do is query the database based upon a users username to display their profile picture next to their profile name when then make forum posts. Any ideas?