I don't kown why. but you have a obvius error here:
onmouseover='MM_swapImage('movieThumb','','http://cantankerousme.net/images/gallery/".$thumb."',1)'>
a uncorrect useage parsing of qutoe
you can try this:
echo "<a href='...' "."MM_swqpImage('movieThumb','http://cantankerousme.net/images/gallery/' ".$thumb.",1)>";
as i think, convert the file type into suitable type is the best way to do it.
else, you can get the HTML content by a little php code, and then insert to the database
if you write a little string to a file in a for loop, you will handle a file for 1000 or more times, I think it will take more memory than just append it to the end of iteration.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.