I was using the variable $link in a form. is it a reserved word or something??
Most likely the var $link is being used for db-operations (or similiar) previously, thus the return value of any resource-based operation is passed to the var $link. Check the all the scripts that are involved in presenting the script/form.
Best regardsThorsten Suckow-Homberg
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php