# Upload .jpg/.gif to db(sql)

**URL:** <https://forum.kirupa.com/t/upload-jpg-gif-to-db-sql/29718>\
**Category:** Uncategorized\
**Created:** [August 29, 2003, 5:40pm UTC](https://forum.kirupa.com/t/upload-jpg-gif-to-db-sql/29718 "2003-08-29T17:40:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jazzman121](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jazzman121/32/127_2.png) [@jazzman121](https://forum.kirupa.com/u/jazzman121)\
**Post date:** [August 29, 2003, 5:40pm UTC](https://forum.kirupa.com/t/upload-jpg-gif-to-db-sql/29718/1 "2003-08-29T17:40:37Z")

</div>

can some one please help me… im a newbie to php…

how do i script a page with 2 fields one to upload files(image files) onto a database(sql ) and one for a url …

and then get the image from the database and then show it on another page and have the image linked to that url…?

I hope that makes sense…

thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 29, 2003, 10:28pm UTC](https://forum.kirupa.com/t/upload-jpg-gif-to-db-sql/29718/2 "2003-08-29T22:28:56Z")

</div>

this will upload for you: [http://robouk.mchost.com/tuts/tutorial.php?tutorial=fileupload](http://robouk.mchost.com/tuts/tutorial.php?tutorial=fileupload)

should get you started…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 29, 2003, 11:12pm UTC](https://forum.kirupa.com/t/upload-jpg-gif-to-db-sql/29718/3 "2003-08-29T23:12:10Z")

</div>

I have 4 fields… need to upload 4 files at a time( multiple uploads )  
how do i do that?

ps: someone whose good at this on aim? please helppppppp im desperate

aim: saringk
