\documentclass[10pt,a4paper,titlepage]{book}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{moreverb}
\usepackage{listings}
\author{Brett Langdon}
\title{Programming In General}
\lstset{language=php,numbers=left,stepnumber=1}
\begin{document}
\maketitle
\tableofcontents
