You have just to rename the image with the news ID !
Perhaps I did not understand correctly your question ?
Tell me if you want also an example (in french, sorry) of the upload and
rename, etc wioth pear quickform
David Arroyo wrote:
I have to make an interface for a newspaper site, where users can upload
news including images.
I want to store the image's name in a field of my NEWS table, in order to
catch it with an <img> tag later, but I don't want people has to upload the
image, remember its name, and put it as another field in the form.
Can anyone help me with an example, tutorial or any idea?
Thanks in advance,
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php