Location: PHPKode > scripts > ApPHP DataValidator Basic > examples/example_array.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <title>ApPHP DataValidator :: Static Data</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <meta name='keywords' content='php data validator, php datavalidator, php validate data, form validation' />
    <meta name='description' content='Advanced Power of PHP - using of ApPHP DataValidator' />
    <meta content='Advanced Power of PHP' name='author'/>
    <style type="text/css">
        BODY { padding:15px; }
        #upper { margin-top:10px; }
        .example_div { display: inline; width: 49%; vertical-align: top; }
        .header { text-align: center; font-size: 16px; font-weight: bold; height: 25px; vertical-align: top; text-align:left; }
        .initial_code { width:95%; height:800px; overflow:auto; padding:10px; 5px; border:1px solid #cccccc;}

    <a href="index.php">Back to Index Page</a>
    <div id="upper">
    <div class="example_div" style="float: left; padding-right: 10px">
        <div class="header">Initial code</div>
        <div class="initial_code">            
                $content = file_get_contents("example_array_script.php", null, null, 6);
                echo '<pre>'.$content.'</pre>';
        <br /><br />    
    <div class="example_div">
        <div class="header">Output</div>
            <?php include_once "example_array_script.php"?>
Return current item: ApPHP DataValidator Basic