I run a site that was recently upgraded to MySQL 5 (last week). Now this very simple script won't run: [code]<?php echo '<p>before connection</p>'; $please_connect = 1; if ($please_connect == 1){ mysql_connect ("localhost", "username", "pass") or die(mysql_error()); mysql_select_db ("dbname"); } else { echo '<p>you did not ask to connect.</p>'; } echo '<p>after connection</p>'; ?>[/code] If $please_connect is set, then there is no output, and no error. If not, then everything prints properly. I notice that there is a new setting in 5 regarding strict mode. Would this be the culprit? It's very strange, because the site has partial availability-- some pages and the stylesheet seem to be unavaialble, but other things are still there. I'm very perlplexed.:(