Please help me... I've tried so many different variations...
Path to pics is saved as database field uploadfile:
/usr/local/www/vhosts/domain.com/htdocs/images/userfiles/fish_pics/Xpic.jpg
When I recall it, it think it is bringing in the whole path. How do I cut the path down (ltrim?), and then put it in my recalled <img src= /usr/local/www/vhosts/domain.com/htdocs/images/userfiles/fish_pics/Xpic.jpg
Minus this bit:
"/usr/local/www/vhosts/domain.com/htdocs/"
So I end up with:
"../images/userfiles/fish_pics/Xpic.jpg"
It doesn't seem elegent somehow...
But for this one thing I'm SOOO close. It's so frustrating. I can't be the only one calling pics from MySQL in this manner...
Hmmm... rereading earlier post... It helps... but I still am not able to recall the info...