There's a whole world of difference between 'rendered' and 'processed - the page is processed top to bottom (baring any branching in your php) - and generally rendered from top to bottom - some parts being rendered after as the missing components (images etc) are loaded. - in short - yes you can - so long as the pconnect happens before you select in the program 'flow' :) "Bob Lockie" <bjlockie@lockie.ca> wrote in message 3DC7039E.1060309@lockie.ca">news:3DC7039E.1060309@lockie.ca... > I'm using mysql_pconnect(...) at the beginning of a PHP page. > Can I safely use mysql_select_db(...) later on the page? > I thought I read somewhere that you can't rely on HTML to be rendered > from top to bottom. > Can I rely on PHP to be interpreted from top to bottom? > > ---------------------------------------- > From Mozilla and GNU/Linux > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php