Storing image paths in mysql, retrieving with php
Posted: Thu Aug 26, 2004 12:43 pm
Hi, i have created a cms that lets me add, edit, or delete individual entries on my website e.g. news stories. (through php and mysql)
I want to now go up a level and have the ability to add new entries, that will aLso call upon an image. I dont want to store the image in my database, just the image path e.g pointed to my image directory. I dont know how to do this, i have tried, but just get a broken image link, not sure how to code it.
Can anyone point me in the direction of a tutorial that covers this, or can anyone paste any tips or scripts that facilitate this???
Many thanks.
I want to now go up a level and have the ability to add new entries, that will aLso call upon an image. I dont want to store the image in my database, just the image path e.g pointed to my image directory. I dont know how to do this, i have tried, but just get a broken image link, not sure how to code it.
Can anyone point me in the direction of a tutorial that covers this, or can anyone paste any tips or scripts that facilitate this???
Many thanks.