You need 2 equals signs to test for equality, using one you are setting $dest to an empty string. It's a miracle it ever worked ;-)
Cheers - Neil
if ($dest = '') {
if (move_uploaded_file($source, $dest)) {
echo ("<p id='message'>Image and Bio has been successfully stored.</p> ");
} else {
echo ("<p id='message'>Image could not be stored.</p>");
}
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php