Before you go any farther, the absolute best use of your time would be to read the PHP manual, skipping only the chapters that deal with interfaces to databases that you don't use. I'm not flipping you off here -- I'm serious. You need to be familiar with the structure of the manual so that you can learn to look up answers to simple questions like this.
Chapter 12 covers control structures, and you can't do much serious work with PHP unless you digest it. Read up on:
if
else
elseif
while
do..while
for
foreach
break
continue
switch
declare
return
require()
include()
require_once()
include_once()