<html> <head> <title>Looping through the $GLOBALS array</title> </head> <body> <?php foreach ( $GLOBALS as $key=>$value ){ print "\$GLOBALS[\"$key\"] == $value<br>"; } ?> </body> </html>