> > $sql2 = "INSERT INTO cal_date_map (entry_id, date) VALUES (\"$entry_id\", > \"$val\")"; Where does $entry_id come from? Maybe it's unique? Bastian -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php