kabar916 Posted October 8, 2011 Share Posted October 8, 2011 I have a folder of images. i want to get a list of names of the images and make a table out of it in sql. Just the name of the images, not the image itself. i already made the table in sql, i just need to import the names. Does anyone know how to do this? Link to comment https://forums.phpfreaks.com/topic/248707-naming-images-in-a-folder-on-to-a-spread-sheet/ Share on other sites More sharing options...
kabar916 Posted October 8, 2011 Author Share Posted October 8, 2011 This is what i am working with: <?php $dir = '_images/tyc'; $files1 = scandir($dir,0); $array1 = array($files1); $array2 = print_r($array1); ?> em i even close, to the answer Link to comment https://forums.phpfreaks.com/topic/248707-naming-images-in-a-folder-on-to-a-spread-sheet/#findComment-1277285 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.