let me go check my handy dandy exercises.

here it is... sorry just placed everything here when I need to test something I read at dox.


PHP Code:

<?php

/*

spent the last year
rocky mountain way
couldnt get much higher
out to pasture
think its safe to say
time to open fire
*/


$arr = array(   => array( => "spent"=> "the"=> "last"=> "year"),
                
=> array( => "rocky"=> "mountain"=> "way"),
                
=> array( => "couldnt"=> "get"=> "much"=> "higher"),
                
=> array( => "out"=> "to"=> "pasture"),
                
=> array( => "think"=> "its"=> "safe"=> "to"5=> "say"),
                
=> array( => "time"=> "to"=> "open"=> "fire")
            );



?>
<html>
<body>
    <table>
        <?PHP
            
/*$reccnt = 0;
            for($cnt1 = 1; $cnt1 <= count($arr[1]); $cnt1++ ){
                for($cnt2 = 1; $cnt2 <= count($arr[2]); $cnt2++){
                    for($cnt3 = 1; $cnt3 <= count($arr[3]); $cnt3++){
                      for($cnt4 = 1; $cnt4 <= count($arr[4]); $cnt4++){
                        for($cnt5 = 1; $cnt5 <= count($arr[5]); $cnt5++){
                          for($cnt6 = 1; $cnt6 <= count($arr[6]); $cnt6++){
                            echo "<TR>";
                            echo "<TD>";
                            echo ++$reccount;
                            echo "</TD>";
                            echo "<TD>";
                            echo $arr[1][$cnt1];
                            echo "</TD>";
                            echo "<TD>";
                            echo $arr[2][$cnt2];
                            echo "</TD>";
                            echo "<TD>";
                            echo $arr[3][$cnt3];
                            echo "</TD>";
                            echo "<TD>";
                            echo $arr[4][$cnt4];
                            echo "</TD>";
                            echo "<TD>";
                            echo $arr[5][$cnt5];
                            echo "</TD>";
                            echo "<TD>";
                            echo $arr[6][$cnt6];
                            echo "</TD>";
                            echo "</TR>";
                          }
                        }
                      }
                    }
                }
            } */
        
?>
    </table>
    <?PHP
    
print "<BR>";
    print 
"TESTING";
    
    
$detail array_fill(02"value");
    
    foreach( 
$detail as $det) {
        print 
"<BR>".$det;
    }
    
    
    print 
"/**********************************************************************/"."<BR>";
    
$mystring "Iamthestring";
    print 
$mystring."<BR>";
    print 
substr($mystring01).substr($mystringstrlen($mystring) - 6).'=Istring';
    
    print 
'<BR>';
    
$month "12";
    print 
date("Y/m/d"mktime(0,0,0$month 1132005)) . ' - ' date("Y/m/d"mktime(0,0,0$month132020));
    
    print 
'<BR>';
    
$strtoSplit "1,2,3,4,5,data";
    
$arraydata split(","$strtoSplit );
    
    
var_dump$arraydata);
    
    
    
?>
</body>
</html>