I have a three column layout and each column is populated with a list made up of date from
three different tables from a MySQL database.
The code for each column is contained in three seperate files and accessed using include().
Whilst I have got this working before, I have now restructed it and broken it.
So...back to basics, do I:
1. Connect to the database using require_once at the start of the file.
2. Run each query and display the results.
3. Use mysql_free_result to free the result after each query.
4. Use mysql_close to close the connection.
OR
Connect to the database, run the queries and close the connection after each query? All
the code being contained in each of the three files.
OR
Maybe even something else.
Thanks for any advice.


