Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there any easier way to insert the URL of images into database? 1

Status
Not open for further replies.

JoJoH

Programmer
Joined
Jan 29, 2003
Messages
356
Location
US
Hi all.

Is there any easier way I could insert the URL of images into database? Because now I basically copy the URL one by one and put it into the database, which could get very cumbersome when you have hundreds of them! Please advice.

Thanks in advance!


JoJoH

 
If they are images in a particular subdirectory of your website, you could loop through them with the FSO object, and put the names of the files in your DB with INSERT statements from within the loop.

-Bad Dos
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top