If you have a static page that you want to include in the current page, use "include()" check the manual for the syntax.
As for the MySQL syntax, read the PHP manual for examples on how to connect and execute queries, and read the MYSQL manual for the correct syntax of SQL statements.