#1: wrap entire code around php tags (main.php)