hello, will this work? $sql = "INSERT INTO ads ($HTTP_POST_VARS,createdate) VALUES ('$key','$today')"; mysql_query($sql); i have this at the top: foreach ($HTTP_POST_VARS as $key => $value) thanks again, addison ellis -- Addison Ellis small independent publishing co. 114 B 29th Avenue North Nashville, TN 37203 (615) 321-1791 addison@bellsouth.net info@smipco.com subsidiaries of small independent publishing co. info@gloabaldog.com info@momandpocentral.com