$images = glob('*.{jpg,JPG,jpeg,JPEG,png,PNG,gif,GIF}', GLOB_BRACE); mysql_query("INSERT INTO `fotogallery` . `photographs` {`id` ,`filename`} VALUES (NULL, '$images')") ;In my database i am using
->id INT(11) NOT NULL AUTO_INCREMENT, ->filename VARCHAR(255) NOT NULLI hope somebody can help me out here,
Thanks.