troubleshooting Question

Need PHP - MySQL Coding Assistance

Avatar of harrisonjf
harrisonjfFlag for United States of America asked on
PHPMySQL Server
9 Comments1 Solution405 ViewsLast Modified:
I think I know conceptually what I want to do, but I lack the technical coding skills to get it right.  Any help/guidance will be sincerely appreciated.

I am working with a simple MySQL membership database - one record for each member.

 I also have a set member photos (mugshots) stored as jpg images in a folder on the server.

I would like to store a path to each member's photo in the MySQL database record for that member and then, use PHP code, to grab that photo and display it as part of the member's "Profile".

So...

What is the proper way to store an image path in a MySQL field?
What PHP code do I need to grab & display the member's photo record?

Unfortunately, my MySQL & PHP coding & syntax skills are petty lame, so any specific code examples would me much appreciated.

Thanks!
ASKER CERTIFIED SOLUTION
Beverley Portlock

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros