Marco you have made a typing mistake in $key or $Keys... :-D Remoevd all non essential lines... On Sun, 13 Jul 2003 17:13:03 +0200 "Marco Mastrorilli" <xanatar@tiscalinet.it> wrote: > > $keys = explode (" ", $_POST ["chiave"]); > > foreach ($Keys as $single_word) ----------------------------------------------------------------------- Everything goes right till foreach ($Keys as $single_word) that RETURNS: Warning: Invalid argument supplied for foreach() in c:\programmi\apache group\apache\test\prova\result.php on line Do U know why? Thanks in advance Marco -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php