If I want to use a multiple php file web interface to a MySQL database, do I need to reconnect using mysql_connect for each php file? Or is there a way to pass this context between php scripts? Thanks.
If you use mysql_pconnect(), you'll create a connection that will stay open until it's idled for a certain about of time.