Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<?php
$a = array ('a' => 'Adam', 'b' => 'Betty', 'c' => 'Charles', 'd' => 'Darlene');
print '<html><body><pre>';
foreach ($a as $index => $value)
{
print 'Array index: ' . $index . ', value: ' . $value;
print "\r\n";
}
print '</pre></body></html>';
?>
<?
foreach($tasks as $item) {
$x=$x++;
$title = stripslashes(ucfirst($item['subject']));
// If this task was completed
if (isset($item['date_complete'])) {
$title = 'Completed ('.date('g:ma', $item["date_complete"]).'): '.$title;
$css_class = 'task_complete';
}
else {
$css_class = 'task_incomplete';
}
?>
<div class="item" onclick="view_task(<? echo $item['id']; ?>)" title="<? echo $title; ?>">
<a href="javascript:view_task(<? echo $item['id']; ?>);">
<span class="<? echo $css_class; ?>"> <? echo $item['prior']; ?> <? echo omit_after($item['subject'],20); ?></span>
</a>
</div>
<?
}
?>
<?
if ($x <4){
for($x; $x<4; $x++){
?>
<div class="item" title="Add a task...">
<div>
<a href="javascript:add_task(<? echo date("Y,m,d",$this_date['time']); ?>)">
<span class="add_item">add…</span>
</a>
</div>
</div>
<?
}
}
?>
$x=$x++;
$x++;
$x=0;
for($x; $x<4; $x++)
for($i=$x; $i<4; $i++)