mahiraj
Oct 29th 2007, 1:19 am
Hi All,
I want to upload image through a form into a database.
In form i have a brows button i am selecting the image from that place, but when i submit this one all path like as "c:/images/first.jpg" goes to the database table but i want only the name of the image "first.jpg" should go into the database how will i remove the rest path ????
please help to do this
THANKS..
I want to upload image through a form into a database.
In form i have a brows button i am selecting the image from that place, but when i submit this one all path like as "c:/images/first.jpg" goes to the database table but i want only the name of the image "first.jpg" should go into the database how will i remove the rest path ????
please help to do this
THANKS..