jimTansey.info

 

Internet Consulting etc.

17
PHP in an include???!17
Includes
i is 0
i is 1
i is 2
Edward 3Array ( [0] => name [1] => email [2] => phone ) Jim Tansey email is jetansey@gmail.com his phone is
Previous|Next
<?php; 
include("header.php"); 
?>


<?php;
$a[0]="James ";
$a[1]="Edward ";
$a[2]="Tansey ";
$arraysize=count($a);
for ($i=0; $i < $arraysize; $i++)
{
echo "i is ".$i."
"; } echo $a[1].$arraysize; $jim = array('name'=>"Jim Tansey",'email'=>"jetansey@gmail.com", 'phone'=>"(518) 424-4969"); print_r(array_keys($jim)); echo $jim['name']." email is ".$jim['email']." his phone is ".$jim[2]; ?>