|
Re: PHP - Trying to retrieve a value from Mysql db
oh yes now I see. Thanks its working just one more question how can I use a relative url in a img tag?
This is my web folders are constructed my root is htdocs i then have a websites folder which has another our_website folder which has all my php files under it. I then have /images/pix folder under our_website my images are displaying if I use <img src"/websites/our_website/images/familypix/image.jpeg"/> Is there a way I could shorten this to something like /images/familypix/image.jpeg
So if I ever move/rename the our_website folder it will not affect it.
|