Helder Lopes wrote: > In other file <sarcasm>well then it *must* be correct.</sarcasm> have you tried actually looking at $con to see what it contains??? the connection to mysql failed or was never even attempted, the error you get makes that quite clear. > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php