note 30606 deleted from function.ini-get-all by nlopess

From: Date: Tue, 13 Jan 2004 14:42:07 +0000
Subject: note 30606 deleted from function.ini-get-all by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-63414@lists.php.net to get a copy of this message
Note Submitter: chevick_1776@yahoo.com ---- I wanted to use this function just to check a few things. Unlike many other functions in these pages, there was no 'ready to use' chunk of code I could copy to display the info....until now. <?php $a= ini_get_all(); //Call ini_get_all() $output="<table border=1>"; //Start an output string while(list($key, $value)=each($a)) //Loop through results { list($k, $v)= each($a[$key]); //Access each array $output.="<tr><td> $key </td><td> $v </td><td> $k </td></tr>"; //Build output }//while $output.="</table>"; //Finish up echo $output; //Spit it all out ?> Don Maciejewski webmaster - http://insideouttattoo.com

« previous php.notes (#63414) next »