> 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)

No. Not sure how to tell you to do it, though, as I'm not sure what
you're trying to accomplish. Putting $HTTP_POST_VARS into a string is
just going to cause it to output 'Array'.

---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to