Mega Code Archive

 
Categories / Php / Language Basics
 

Looping Through the $GLOBALS Array

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