PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

Source of: /quick-fix-desc.php

<?php
require_once 'prepend.inc';
require_once 
'resolve.inc';

commonHeader("Quick Fix Descriptions");
?>
<table border="2" cellpadding="6">
<?php
foreach ($RESOLVE_REASONS as $key => $reason) {
    echo 
"
        <tr>
        <td>{$reason['desc']}</td>
        <td>Status: {$reason['status']}</td>  
        <td><pre>{$reason['message']}</pre></td>
        </tr>"
;
    if (isset(
$FIX_VARIATIONS[$key])) {
        foreach (
$FIX_VARIATIONS[$key] as $type => $variation) {
            echo 
"
            <tr>
            <td>{$reason['desc']} ({$type})</td>
            <td>Status: {$reason['status']}</td>  
            <td><pre>{$variation}</pre></td>
            </tr>"
;
        }
    }
}
?>
</table>    
<?php 
commonFooter
();
?>

The syntax highlighted source is automatically generated by PHP from the plaintext script.
If you're interested in what's behind the commonHeader() and commonFooter() functions, you can always take a look at the source of the layout.inc files. And, of course, if you want to see the source of this page, have a look here.


show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Fri Jul 17 19:37:57 2009 UTC