i want to insert non empt values (as $im1, $im2.....) in mysql database, code is as follow, im_id is auto_increment key
$im1 =image1['image'];
$im2 =image2['image'];
$im3 =image3['image'];
$im4 =image4['image'];
$sql = "INSERT INTO `class-ads`.`images`
(im_id, image)
VALUES (NULL, '$im1'),
(NULL, '$im2'),
(NULL, '$im3'),
(NULL, '$im4')
mysql_query($sql) or die('Error, Posting Image failed : ' . mysql_error());
any help plz...