<?php
$i = "003";
if ($i < "628"){
echo "INSERT INTO `travel_photos` ( `id` , `photoname` , `trip_id` , `takenby` , `location` , `details` , `private` , `degrees` , `hits` , `date` , `front` ) VALUES ('', 'Picture$i.jpg', '11', '', '', '', '0', '0', '0', '0000-00-00', '');";
echo "<p>";
$i++;
};
?>
WHY???